View Full Version : Retaining dropdown data on page refresh.

04-28-2008, 12:43 PM
javascript on how to retain the option selected in the drop down even after refreshing the page ?

Please help.
Thanks :)

04-28-2008, 02:23 PM
Only way would be to store the value in a session cookie. When the page loads, you look for the session cookie. If it is there, you set the value in the select element.


04-29-2008, 07:25 AM
Thank you so much.
Can a javascript be written to achieve this functionality?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum