[thelist] Carrying Javascript values over

The Lists thelists at antonakis.co.uk
Thu Mar 18 15:54:11 CST 2004


I have a page whereby the user can hide or view parts of the page, these 
are contained within <DIV> tags, and are purely made visible or hidden.

My question is, when the user "re-load's" the page, be it submitting on 
a form or by using a hyperlink, or just plain 'F5' is there a way to 
carry the values set by Javascript 'over' to the newly loaded page?

I've done a search on Google, but can't find anything, and was thinking 
about creating a session and storing the values in it, just before the 
page is exited and then retrieving them before the page loads, but how 
could I go about storing the values in a session when they are set and 
retrieved by Javascript?

FYI I am using PHP to do the main site development.


More information about the thelist mailing list