page linking trouble

Discussion in 'Javascript' started by shane turner, Mar 5, 2004.

  1. shane turner

    shane turner Guest

    How can I use Javascript to look at variables passed from another page
    using the GET method( a website address) and load that website?
    shane turner, Mar 5, 2004
    #1
    1. Advertising

  2. On 5 Mar 2004 07:56:49 -0800, shane turner <>
    wrote:

    > How can I use Javascript to look at variables passed from another page
    > using the GET method( a website address) and load that website?


    window.location.search will return that portion of the URL. The question
    mark (?) will be included at the beginning of the string.

    Assigning a string that contains a URL to window.location will navigate to
    that address.

    Mike

    --
    Michael Winter
    d (replace ".invalid" with ".uk" to reply)
    Michael Winter, Mar 6, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cold Filtered
    Replies:
    0
    Views:
    451
    Cold Filtered
    Feb 18, 2005
  2. Replies:
    2
    Views:
    4,355
    Derek
    Jan 14, 2005
  3. Jeff

    trouble with linking and login

    Jeff, Dec 20, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    284
    Gregory A. Beamer
    Dec 20, 2008
  4. Roy A.
    Replies:
    4
    Views:
    450
    Jonathan N. Little
    Mar 19, 2010
  5. Captain Paralytic

    Re: trouble linking in css file

    Captain Paralytic, Mar 19, 2010, in forum: HTML
    Replies:
    0
    Views:
    454
    Captain Paralytic
    Mar 19, 2010
Loading...

Share This Page