Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q1344 How can I persist data through a page reload/resize?

irt.org | Knowledge Base | JavaScript | Window | Q1344 [ previous next ]

Q1344 How can I persist data through a page reload/resize?

The following will work on Netscape Navigator 4.x, but not 3.x or 5.x:

<script language="JavaScript"><!--
var retrievedvariable;

if (navigator.storedvariable) {
    var retrievedvariable = navigator.storedvariable;
}

// later on...

navigator.storedvariable = 'Hello World';
//--></script>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.