problem with enter key
Moderator: General Moderators
problem with enter key
I have a simple search form and when you press the enter key it doesn't activate the button just makes the text in search field blank, any ideas?
Easiest fix will probably be to put a a hidden field on the form named submit
This is also usefull if your submit button is an image.
Code: Select all
<input type=hidden name=submit value=submit>
<input type=submit name=submit value=submit>