Set a callback function to a new window in javascript
Updated for comments: If you’re opening your window via window.open() then in your child page you can set a function in the child to just be a reference pointing to a parent function, so have this in the child page: var RunCallbackFunction = function() { }; //reference holder only Then in your parent (opener), set … Read more