J
John English
Is there a way to catch the Enter key being pressed in a text field?
I want to submit the form if Enter is pressed in a particular field.
I have more than one form on the page, each with a submit button but
more than one text field each.
TIA,
-----------------------------------------------------------------
John English | mailto:[email protected]
Senior Lecturer | http://www.it.bton.ac.uk/staff/je
Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS **
University of Brighton | -- see http://burks.bton.ac.uk
-----------------------------------------------------------------
I want to submit the form if Enter is pressed in a particular field.
I have more than one form on the page, each with a submit button but
more than one text field each.
TIA,
-----------------------------------------------------------------
John English | mailto:[email protected]
Senior Lecturer | http://www.it.bton.ac.uk/staff/je
Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS **
University of Brighton | -- see http://burks.bton.ac.uk
-----------------------------------------------------------------