How to run function of parent window when child window closes?

前端 未结 7 2218
余生分开走
余生分开走 2020-11-29 02:15

I am calling the javascript window.open() function to load another url in a pop up. Once the users is finished it takes them to the last page that has a link that says close

相关标签:
7条回答
  • 2020-11-29 03:07

    Along with jerjer answer(top), sometimes in your parent window and child window are not both external or both internal you will see a problem of opener undefined, and you cannot access parent page properties, see window.opener is undefined on Internet Explorer

    0 讨论(0)
提交回复
热议问题