Advertisement

07.15.2008 at 01:20PM PDT, ID: 23567499
[x]
Attachment Details

maintain selected value of a dropdown box after reload or POST

Asked by brianbish in JavaScript, PHP Scripting Language, WebApplications

Tags: Javascript, php, html

How can I keep the original selected value of a dropdown box after the page has been reloaded?  RIght now  I select a value form the drop down box, the page reloads and populates another field according to what is selected in the dropdown box, but when the page reloads the drop down box goes back to the first value, so when I submit, I submit the wrong value from the drop down box..Start Free Trial
[+][-]07.15.2008 at 01:30PM PDT, ID: 22010770

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.15.2008 at 01:34PM PDT, ID: 22010812

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaScript, PHP Scripting Language, WebApplications
Tags: Javascript, php, html
Sign Up Now!
Solution Provided By: hielo
Participating Experts: 2
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628