i want to PREVENT the default action when the tab key is pressed and only wanna do it in chrome, i can’t find a solution for that, can anyone please help ?
i am using jquery
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.
Here’s an article on how to detect chrome:
http://javascriptly.com/2008/09/javascript-to-detect-google-chrome/And this question: Disable tab key on a specific div might help you on disabling the tab key. If you are able to combine both yourself, you’ve probably got it working.
The disable function would become something like:
e.which = 9 is the tab key according to the last link given. If you are able to wrap the browser detection around it yourself, I guess you’ve got your working example.