Welcome to WebmasterWorld Guest from 3.93.75.30

Forum Moderators: open

Message Too Old, No Replies

javascript question

can I pass a variable to another page?

     
2:19 am on Sep 18, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:June 23, 2003
posts:145
votes: 0


Just a matter of interest really(not wanting to do anything in particular) Wondering if its possible to pass the value of a variable from a page containing javascript to another page containing javascript?

ie. hold the variable in memory and use its value on another script within the same site.

2:30 am on Sept 18, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 26, 2003
posts:881
votes: 0


In can't be done in-memory because that would be too much of a security risk, but it can be done via the
window.location
object. I posted a working example in msg #6 of this thread:
[webmasterworld.com...]

HTH
Jordan

2:55 am on Sept 18, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:June 23, 2003
posts:145
votes: 0


Great. thanks for that.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members