Results 1 to 5 of 5

Thread: Passing Variables [Resolved]

  1. #1

    Thread Starter
    Fanatic Member Mushroom Realm's Avatar
    Join Date
    Mar 2002
    Location
    Murrieta, California
    Posts
    650

    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.

  2. #2
    Lively Member
    Join Date
    Dec 2002
    Location
    southwest pennsylvania
    Posts
    65
    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!

  3. #3
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196
    Can't you use a querystring in the url parameter for window.open ?

  4. #4

    Thread Starter
    Fanatic Member Mushroom Realm's Avatar
    Join Date
    Mar 2002
    Location
    Murrieta, California
    Posts
    650
    Can you explain how to use the queryunload parameter? I cant use cookies, I dont want them to able to change the value.

  5. #5
    Lively Member
    Join Date
    Dec 2002
    Location
    southwest pennsylvania
    Posts
    65
    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
  •  



Click Here to Expand Forum to Full Width