Keyboard shortcuts on invisible elements in the browser

blarriact

New Member
I'd like to assign keyboard shortcuts to the buttons on my pages.It turns out that doing it straight in the markup leads to a dangerous side effect: a shortcut fires the click event even when the button is invisible.I can resort to dynamically set/unset shortcuts in my front end controller but it seems a bit kludge. Is there a more elegant way to do it? Many thanks!
 
Back
Top