[jQuery] Disable enter button submitting form
<HTML>
<HEAD>
<TITLE>Re: [jQuery] Disable enter button submitting form</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Except that they’ll need to submit the form when the click the submit button. I just don’t want them submitted the form when they hit enter on the keyboard.<BR>
<BR>
<BR>
On 3/26/07 4:51 PM, "Chris Domigan" <cdomigan@gmail.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I think you can just return false in the form's submit handler.<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>_______________________________________________<BR>
jQuery mailing list<BR>
discuss@jquery.com<BR>
<a href="http://jquery.com/discuss/">http://jquery.com/discuss/</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/