Questions tagged [window.opener]

The opener property returns a reference to the window that created the window.

When opening a window with window.open(), you can use this property from the destination window to return details of the source (parent) window.

NOTE : window.opener.close() will close the source (parent) window.

ISSUE : Not working with IE.

SOLUTION : Use window.ShowModalDialog() & window.dialogArguments()

155 questions
20
votes
5 answers

window.opener alternatives

I am opening a modal popup window. Then I access a parent window textbox and other attributes using window.opener. It is working fine in firefox but not in IE8. It gives error 'window.opener is null'. How can I access parent window attributes in…
dmay
  • 1,245
  • 6
  • 21
  • 30
16
votes
2 answers

JavaScript window.opener call parent function

I am trying to call a javascript function defined in a parent from a child window. I have two files like this: Parent: Test