Resetting dropdown boxes with their default values
posted 3 years ago
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?