M
Matthew
Is there anyway to tweak this to ignore the function() only if the Tab
key is pressed?
onkeydown="javascript:function();"
key is pressed?
onkeydown="javascript:function();"
Is there anyway to tweak this to ignore the function() only if the Tab
key is pressed?
onkeydown="javascript:function();"
"function" is a keyword, so it is a bad example to use.
The "javascript:" is not needed.
onkeydown="if ((event.keyCode||event.which) != 9){ func(); }"
Separately, what is the keyevent # for a SHIFT-TAB?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.