halm1985 Posted September 30, 2007 Share Posted September 30, 2007 I have a search form that includes a number of drop-down menues and a text field .. The search works correctly only when i press the SUBMIT button by mouse .. When i press ENTER after filling the text field, it doesn't send correct values .. The search returns all results without the condtion as if it empties the text field before sending ?? Does anyone know why ? Link to comment https://forums.phpfreaks.com/topic/71256-pressing-submit-vs-pressing-enter/ Share on other sites More sharing options...
Ninjakreborn Posted September 30, 2007 Share Posted September 30, 2007 It should happen by default in almost all browsers. If it doesn't then it has something to do with what your doing (post your code). http://www.google.com/search?hl=en&q=hit+enter+on+form peruse some stuff there and see what you get. Link to comment https://forums.phpfreaks.com/topic/71256-pressing-submit-vs-pressing-enter/#findComment-358401 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.