This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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
combobox ,how to get it from Table
How to handle Enumeration values in java.sql.Types ?!! Is it possible ?!!
Using Combo Boxes in JSP & Servlet
JTable
how to add dropdownlistbox to text field