Dormilich,
Thank you for your reply.
Sorry, it is just typo error. Although it is with option:selected , result is the same.
User Profile
Collapse
-
how to retain dropdown selected value after onchange in JSP
I have a dropdown list. When I select a value, the page is refreshed. Then, the combo box is still showing the default value. What I want is to maintain the selected value inside combo box even after onchange.
Here is the code ....
...Code:<select size="1" name="ddlSelect" id="ddlSelect" onchange="fnChange(this.value)" > <option value="0">--- Select One ---</option>
No activity results to display
Show More
Leave a comment: