how to write conditions when browser closed

Posted by Oswaldlily under ASP.NET on 2/1/2015 | Points: 10 | Views : 1216 | Status : [Member] | Replies : 1
I need to capture browser closed event..if I close the browser,need to capture that event so that I can write conditions




Responses

Posted by: vishalneeraj-24503 on: 2/2/2015 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Hi,you can use onbeforeunload event and give condition of your choice.

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response