• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Resetting dropdown boxes with their default values

 
Krish Yeruva
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have two dropdown boxes in my JSP page with their default values(I am setting the default values from FormBean class). And the values for these dropdown boxes are coming from back end in the form of map(key,value). My Problem here is, If I changed the value from default to other value then click on CLEAR button, I need to restore those dropdown boxes with their default values. Can any one give me suggestion for on this?

Thanks in advance.


Regards,
Krishna.

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like something that you would need to do with JavaScript.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic