/ Published in: JavaScript

Works in IE not Firefox/Mozilla.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function onKeyPress () { var keycode; if (window.event) keycode = window.event.keyCode; else if (e) keycode = e.which; else return true; if (keycode == 13) { alert("Please Click ONCE on the Submit button to send this"); return false } return true } document.onkeypress = onKeyPress; // End --> </script>
Comments
