jQuery :: disable the enter key
// jQuery disable the enter key
You can intercept the enter key (code 34 I think...). Something like this: $("#myForm").bind("keypress", function(e) { if (e.keyCode == 34) return false; }); Keypress may be the wrong event, can't remember if forms submit on keyup, keydown or keypress