Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Press enter submits form


  • From: javascript@xxxxxxxxxx (David Yee)
  • Subject: [Javascript] Press enter submits form
  • Date: Mon, 26 Aug 2002 14:55:44 -0700

> 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