Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Passing variables from one page to another


  • From: tedd at sperling.com (tedd)
  • Subject: [Javascript] Passing variables from one page to another
  • Date: Thu Dec 28 08:58:32 2006

At 7:47 PM +0100 12/27/06, Peter Lauri wrote:
>Why do you say that it require that the "user do something"? Check
>onbeforeunload() that probably can handle whatever you want "user to do".
>
>Best regards,
>Peter Lauri

Interesting.

If I can run a function on onload() and another on onbeforeunload(), 
one might think you should be able to easily pass variables between 
the two.

I know, I know, use cookies, GET variables, ajax, or even MySQL (I 
think) to pass variables. But none are as simple as onload(arg) and 
onbeforeunload(arg) like the old arg variables, or overlays if you're 
old enough to remember those.

Cheers,

tedd
-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com