I have used a form submit (post method) in which form is submitted in new window of the browser, as form's attribute target is set to _blank
. I want to do some code as soon as the new window is closed.
I want to know how can we handle the close event of the new window, so that I can perform the next operation.