Then in your parent (opener), set that function when that child window loads, like this: //random function you want to call function myFunc() { ... ... <看更多>
Search
Search
Then in your parent (opener), set that function when that child window loads, like this: //random function you want to call function myFunc() { ... ... <看更多>
function formSubmit(){ var data = { name:'shenbao', age: 18, }; window.opener.callback(data); //上述执行完成后,调用打开页面的callback方法, ... ... <看更多>
javascript popup close callback event. GitHub Gist: instantly share code, notes, and snippets. ... <看更多>
opener property. This allows you to exchange data between the two windows. Summary. The window is the global object in the web browser. ... <看更多>