|
-
Feb 20th, 2003, 05:12 PM
#1
Thread Starter
Fanatic Member
Passing Variables [Resolved]
How do I pass a variable to a new window that I am going to create?
Last edited by Mushroom Realm; Feb 22nd, 2003 at 12:23 PM.
-
Feb 20th, 2003, 10:30 PM
#2
Lively Member
thats a toughie. theres likely a much easier and more logical way... but i'd make a cookie. cookies are good brain food and would probably help you think of a way to pass variables to a new window.
if you choose not to decide you still have made a choice!
RUSH rocks!
-
Feb 21st, 2003, 04:13 AM
#3
Can't you use a querystring in the url parameter for window.open ?
-
Feb 21st, 2003, 04:20 PM
#4
Thread Starter
Fanatic Member
Can you explain how to use the queryunload parameter? I cant use cookies, I dont want them to able to change the value.
-
Feb 21st, 2003, 04:38 PM
#5
Lively Member
think this'll work?
window.open(URL+"?varName="+varContent...)
new window onLoad=function()
{
eval(document.location.split("?")[1].split("=")[0])=document.location.split("?")[1].split("=")[1];
}
if you choose not to decide you still have made a choice!
RUSH rocks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|