This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with reloading page based on combobox selection

 
Kate Wilson
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic