I am selecting all tags that are not input tags to bind a hotkey to.
$('*').not('input').bindHotKey(blah);
However, this doesn’t seem to exclude the password field in chrome. ie: <input type="password"/>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try to only select the descendants of the
bodyelement:DEMO
Update:
But it even seems to work with
$('*'). Have a look at this fiddle. Withoutnotthere are 11 elements in the page, withnot, 10.