Let's say i have 2 pages : test1.html and test2.html
Is it possible to declare a global javascript variable and assign a value on the page :test1.html, and then use this same variable on the page : test2.html.
Printable View
Let's say i have 2 pages : test1.html and test2.html
Is it possible to declare a global javascript variable and assign a value on the page :test1.html, and then use this same variable on the page : test2.html.
You could write the value to a cookie, and then call it from any page you want.