Bad Credit Loans - Free Animated Greetings - Debt Consolidation - Debt - Funbrain Games

PDA

View Full Version : Detect Browser Close Event


php_baroda
Apr 17th 2007, 5:55 am
Hey,

Can ny one help me in finiding event which will detect when browser will be closed by visitor in PHP or in Javascript.

I wann to exactly do like is - when some one leave web site in between of registration phase.

So when they close browser one page will open and saying thanks and one email will go to say that visitor can again login and register from there back.

Please ny one can help me in this.

Thanks in advance.

krakjoe
Apr 17th 2007, 6:06 am
<body onunload="yourJS();">