/ Published in: jQuery

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Only needed for Webkit Browsers if ($.browser.webkit) { $(document).keypress(function(event) { // ALT + H in case there is other text entry on the page if (event.charCode == 729) { window.location = $('a[accesskey=h]').attr('href'); } console.log(event.charCode); //Log the key code }); }
Comments
