Return to Snippet

Revision: 13635
at April 30, 2009 02:00 by hotdiggity

Initial Code

<!-- 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 -->

Initial URL

Initial Description
Works in IE not Firefox/Mozilla.

Initial Title
Stop A Form Submitting On Return

Initial Tags

Initial Language