[thelist] Opening New Web Page in the Same Window Using

Syed Zeeshan Haider zeeshan_paki at yahoo.com
Sat Dec 15 15:20:15 CST 2001


Dear Mark Howells,
Thank you for helping, but I already know that you told me. According to my
deficient information, window.location="" method does not help to pass the
variables from one web page to another but window.open() can. Therefore, I
want to use only window.open() to do two things:
1.    Open new web page in the same window
2.    Pass variables (of JS) from first web page to the second
Can you help me?
Syed Zeeshan Haider.
http://syedzeeshanhaider.faithweb.com/

----- Original Message -----
Date: Fri, 14 Dec 2001 11:55:05 +0100
Subject: Re: [thelist] Opening New Web Page in the Same Window Using
window.open()
From: Mark Howells <mark at mountain.ch>
To: <thelist at lists.evolt.org>
Reply-To: thelist at lists.evolt.org

You can use window.location="http://URL"; or location.replace("http://URL").
Location.replace replaces the current page with the new one in the browser
history (good for a redirect on the front page of a website).

Regards
Mark Howells
Working in a Winter Wonderland
http://www.mark.ac


> Von: "Syed Zeeshan Haider" <zeeshan_paki at yahoo.com>
> Antworten an: thelist at lists.evolt.org
> Datum: Fri, 14 Dec 2001 15:41:46 +0500
> An: "Evolt" <thelist at lists.evolt.org>
> Betreff: [thelist] Opening New Web Page in the Same Window Using
window.open()
>
> Is there any way in JavaScript to open a new web page in the same window
> using window.open() method, instead of opening a new popup window..


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





More information about the thelist mailing list