Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

launching new window via JS

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
I am using:

window.location.href = URL;

to launch a new page in a function, how can I have it launch in a new (_blank) window also?

[conehead]
 
I got my own answer:

Instead of using, window.location.href

I am using, window.open

simple, huh : )

[conehead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top