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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trapping error with window.open function

Status
Not open for further replies.

quinny1

Programmer
Oct 17, 2000
12
GB
Hi there
Could anyone help with this problem? I am using the window.open function to open a new window. If the window to be opened can't find the page then I would like to be able to display an error message saying the page cannot be found and close the window.

The code is below:

set wnd=window.open(fullstring,"wnd", "height=590,width=780,status=yes,toolbar=yes,menubar=no,location=yes")


where fullstring is the url pointing to the page.

Thanks in advance.

Quinny
:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top