Re: retaining javascript variables from page to page

by Comharsa <comharsa(at)clara.net>

 Date:  Thu, 20 Jul 2000 12:17:58 +0100
 To:  hwg-techniques(at)hwg.org
 In-Reply-To:  hotmail
  todo: View Thread, Original
At 11:57 20/07/00, Peter-Paul Koch wrote:
>>3. Make it a framed page, with one frame 1 pixel high or wide. Pass the
>>info to a hidden field in that page. Load the new page into the main frame.
>>Retrieve the data.
>
>Fourth method:
>Put the data in a JavaScript variable located either in the top frame or a 
>hidden frame. In case of the topframe, define a variable in the frameset page:
>
>var data;
>
>then fill it from the content page:
>
>top.data = value;
>
>and retrieve it like:
>
>retrieved_data = top.data;

I think that's probably what I meant by number 3. Told you I'd never done 
it ;-).


Brian
comharsa(at)clara.net

Fireworks FAQ: http://comharsa.com/firefaq.php3

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA