Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
161
rated 0 times [  163] [ 2]  / answers: 1 / hits: 26155  / 11 Years ago, thu, september 19, 2013, 12:00:00

Suppose we open a popup through javascript when a link is clicked on parent window.



As everybody knows that parent window elements can be accessed from child window using the window.opener() function.



Is it possible to do exactly reverse ? Can parent window access the information about the child window ?


More From » jquery

 Answers
-10

You mean something like this:



a=window.open()
a.document.write(<div id='mydiv'>test</div>)
a.document.getElementById(mydiv)

[#75597] Wednesday, September 18, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sandra

Total Points: 708
Total Questions: 100
Total Answers: 84

Location: Bosnia and Herzegovina
Member since Thu, Jun 24, 2021
3 Years ago
;