Use of the same variable on multiple pages

Giganews Newsgroups
Subject: Use of the same variable on multiple pages
Posted by:  Danny Poulsen (danny.poulsen@nospam.email.dk)
Date: Fri, 5 Sep 2003

Hi

How do I transfer a variable on one page to another page?

example:

page1.htm
<script language="JavaScript">
var t = 1;
</script>

page2.htm
<script language="JavaScript">
here I want to use the variable t
</script>

is this possible at all, or what can I do instead. It is for use on a CD
/Danny

Replies