About Combo Box
1 posts in topic
Flat View  Flat View

Posted By:   Arvind_S
Posted On:   Saturday, January 12, 2002 04:21 AM

I've got a combo box that holds few names in a JSP page.On choosing one name from it, it has to go to the same page, but to check something.
How can I possibly achieve this.

Assume that there are 10 names. If I choose the 9th name, the page has to refrech automatically doing some validations. How can I make this possible?

Re: About Combo Box

Posted By:   idris_yuce  
Posted On:   Monday, January 14, 2002 06:24 AM

you should write a function that holds the event of onChange for that combobox.
You can get the selected item's value in combobox with
and the selected text with

You should make the written function to handle the onChange event.In that funtion you can either write javascript code that works directly on the browser window or make form to be submitted to the web server by form.submit() method.

About | Sitemap | Contact