How to find modal dialog opener from javascript?
Posted
by yapiskan
on Stack Overflow
See other posts from Stack Overflow
or by yapiskan
Published on 2009-06-25T12:28:40Z
Indexed on
2010/05/31
11:23 UTC
Read the original article
Hit count: 295
I have a page that opens a modal dialog. After the operations done on dialog I want to refresh the opener page. But when I open the popup by using "openDialog" I cannot access to the opener by using window.opener on popup page. It appears "undefined" when I wanted to access. (I dont want to use "popup" method in this case. I want it to be a dialog by the way. using "popup" is my second plan.)
What is the best practice to get rid off this issue?
© Stack Overflow or respective owner