Hi, I have a site and in that I don't want to users pressing tab key and also shift + tab key. So I need a small javascript code for preventing execution of tab key and Shift+Tab Keys. Please help me.. I just need this small help.
<script type="text/javascript"> document.onkeydown = disableTabKey function disableTabKey(e) { var keycode; (window.event) ? keycode = window.event.keyCode : keycode = e.which; if (keycode == 9 || keycode == 16) return } </script> Code (markup):