wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Help with reloading page based on combobox selection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Help with reloading page based on combobox selection" Watch "Help with reloading page based on combobox selection" New topic
Author

Help with reloading page based on combobox selection

Kate Wilson
Greenhorn

Joined: Mar 23, 2004
Posts: 12
Hi all,
I have a page with a combobox containing categories. Based on the category selected by user, I need to change the table values at run time. I used the html:select onchange="document[0].forms.submit()" for this. But this will simply work as a regular submit button. How can I reload the values into the table?
A code snippet would be very helpful.
Thanks,
Kate.
Kate Wilson
Greenhorn

Joined: Mar 23, 2004
Posts: 12
Originally posted by Kate Wilson:
Hi all,
I have a page with a combobox containing categories. Based on the category selected by user, I need to change the table values at run time. I used the html:select onchange="document[0].forms.submit()" for this. But this will simply work as a regular submit button. How can I reload the values into the table?
A code snippet would be very helpful.
Thanks,
Kate.


BTW, I also tried giving a function name there.. that doesn't work either. Can anyone pls show me the correct way of calling a function?
-Kate
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with reloading page based on combobox selection
 
Similar Threads
Using Combo Boxes in JSP & Servlet
how to add dropdownlistbox to text field
JTable
How to handle Enumeration values in java.sql.Types ?!! Is it possible ?!!
combobox ,how to get it from Table