ambesoft
ambesoft

Reputation: 11

pop up window close

how to close the pop up window and focus to the main calling window of that pop up.

Upvotes: 1

Views: 655

Answers (1)

Vicky
Vicky

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

Related Questions