Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do we do an OnChange submit on an input text

843835Nov 14 2002 — edited Nov 15 2002
I 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 !!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 13 2002
Added on Nov 14 2002
6 comments
285 views