Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Retaining Value!
09-15-2005, 08:10 PM #1
- Join Date
- Sep 2002
- Thanked 0 Times in 0 Posts
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"?
09-16-2005, 05:34 AM #2
- Join Date
- Jun 2002
- Thanked 215 Times in 212 Posts
What server-side language you are using? You can easily do that on the server-side.Glenn
Tower of Hanoi Android app (Ad-FREE!)
Tower of Hanoi Android app (FREE!)
Tower of Hanoi Leaderboard
vBulletin 5 Floating Bar extension
vBulletin 5 Slideshow extension
vBulletin 5 Quote Selected Text extension
vBulletin 5 Profile Preview Tooltip extension