...

View Full Version : Retaining Value!



arpan_de
09-15-2005, 09: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

glenngv
09-16-2005, 06:34 AM
What server-side language you are using? You can easily do that on the server-side.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum