0
   

How to call javascript in a parent window from a child window?

 
 
Reply Sun 21 Aug, 2022 08:55 pm
After opening a window [ win = window.open (); ], how does win execute a javascript function in its opener?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 434 • Replies: 1
No top replies

 
barygold
 
  1  
Reply Sun 21 Aug, 2022 10:12 pm
@barygold,
I just found the answer!

In the CHILD using <a href="#" onclick="opener.aFunction()">...</a> allows CHILD to execute aFunction in its opener.
0 Replies
 
 

Related Topics

 
  1. Forums
  2. » How to call javascript in a parent window from a child window?
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 12/26/2024 at 08:47:32