[Javascript] Press enter submits form

David Yee dyee at AMSResponse.com
Mon Aug 26 16:55:44 CDT 2002


> David,
> I think (and someone please correct me) that the [enter] key 
> is already
> the default keystroke for submitting a form, so no need for a script
> there.

Yes- that's the default behavior, but for a page with multiple forms and
submit buttons when enter is pressed I want to be able to simulate the
sumbit of a particular form.

David




More information about the Javascript mailing list