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
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to