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

window.opener does not work on a windows 2000 wks

Status
Not open for further replies.

Whitebat

Technical User
Jun 19, 2001
47
DE
The problem is that this
window.opener=self;window.close();
works just fine on an Windows 2000 machine. But on a machine which was only updated from NT to 2000 it wont. There i still receive the message " Are you sure you want to close the window yes/no"
Any suggestions on how to get it work on an updated machine ? everything else is equal like the browser version and settings.



Thanks Whitebat
 
Have you tried:

self.opener = this; self.close(); Get the Best Answers! faq333-2924
Is this an asp FAQ? faq333-3048
Tek-Tips Best Practices: FAQ183-3179
 
it does not work for IE 5.0

It is likely that this technique is actually a bug exploit in which case future browser releases will fix it, causing it not to work.

=========================================================
while (!succeed) try();
-jeff
 
Thanks i got it. it was the wrong browser version Thanks Whitebat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top