How do we do an OnChange submit on an input text
843835Nov 14 2002 — edited Nov 15 2002I have a input text field and a search button associated with this text field. When the user enters a text in the field, and clicks on Search button this value in the text should be passed over to another jsp - this is not happening unless the form is submitted once (for eg. when the user hits ENTER after the text is entered, the form gets submitted) and the field gets populated and the called jsp gets the value with no problem.
I am just trying to prevent the user from hitting the ENTER key and when he/she clicks on the Search button the value should be passed to the called jsp
How can I achieve this !!!
Thanks a lot for your time !!!