arpan_de
09-15-2005, 08:10 PM
Selecting an option from a drop-down list automatically submits the page to itself using the onChange event & populates a textbox with the option selected. Though the textbox gets populated with the selected option, it disappears when the Form gets submitted. How do I make the textbox retain the value of the selected option?
For e.g if a user selects, say, "Cat" from the drop-down, the textbox value immediately changes to Cat but when the page gets submitted, the textbox becomes empty. How do I make the textbox value retain the value "Cat"?
Thanks,
Arpan
For e.g if a user selects, say, "Cat" from the drop-down, the textbox value immediately changes to Cat but when the page gets submitted, the textbox becomes empty. How do I make the textbox value retain the value "Cat"?
Thanks,
Arpan