Reputation: 11
how to close the pop up window and focus to the main calling window of that pop up.
Upvotes: 1
Views: 655
Reputation: 9585
Using Java Script - Use it to close the popup window -
window.close();
this is used to set focus on Parent Window -
opener.focus(), or window.opener.focus();
Upvotes: 2