Two Laptop Bag*
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
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
 
jQuery in Action, 2nd edition
 
subject: Help with reloading page based on combobox selection