Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form: Call javascript without Submit Button using Enter Keyboard Key

Status
Not open for further replies.

LOOP123

Programmer
Mar 7, 2008
10
CA
Hello,

I have a problem as follows:

I have a form with a single text field value to capture user input. There is NO submit button. When the user inputs a value in the text field and then hits ENTER on the keyboard, a javascript function must be called.

How do I do this without using a submit button?

Thanks in advance!

Cheers,
Dipesh.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top