faqts : Computers : Programming : Languages : JavaScript : Windows

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

36 of 78 people (46%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

Why is window.opener not working?

Mar 3rd, 2000 00:17
Martin Honnen,


It seems that with IE3 (or some IE3 versions) window.opener is not set 
when a window is opened by JavaScript. To work around that use
  var w = open ('whatever.html', 'windowName');
  if (!w.opener)
    w.opener = window;