aspose file tools*
The moose likes JSP and the fly likes Resetting dropdown boxes with their default values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Resetting dropdown boxes with their default values" Watch "Resetting dropdown boxes with their default values" New topic
Author

Resetting dropdown boxes with their default values

Krish Yeruva
Ranch Hand

Joined: Sep 17, 2008
Posts: 58
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.


Thanks & Regards
KITTU
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

Sounds like something that you would need to do with JavaScript.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resetting dropdown boxes with their default values