FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » html php form second drop down select dependant list to keep selected value
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: html php form second drop down select dependant list to keep selected value [message #186186 is a reply to message #186185] Thu, 19 June 2014 17:22 Go to previous messageGo to previous message
pppbbb10 is currently offline  pppbbb10
Messages: 4
Registered: December 2013
Karma:
Junior Member
I was just looking at this... using session_start and $_SESSION array...

Would it goes as:
document.getElementById("MyDropDown").value = '<?php echo $_SESSION['MyStoredValue']; ?>'

or

jQuery('#MyDropDown').val('<?php echo $_SESSION['MyStoredValue']; ?>');

thanks,
Pascal
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Authentication Framework?
Next Topic: for who use mailchimp: google considers the emails received as advertising?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 11 21:15:16 GMT 2024

Total time taken to generate the page: 0.06566 seconds