window.opener.close() and Internet Explorer 6

G

Geoff Wilkins

I fear this may be a FAQ - in which case my apologies - but I've failed
to track the answer down.

I want to close a window from another window it opened. I assumed that

this.window.opener.close();

would work, and it does work with my Netscape 6; but my IE 6 gives me an
error-message, "this.window.opener is null or not an object".

Is there some code which will work with both browsers?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,688
Members
48,796
Latest member
Greg L.

Latest Threads

Top