Browser close event in javascript
window close event in javascript
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Gomathi PalaniswamyRank #714 · 3.3K reputationPosted Aug 6, 2010, 11:55 PM EDT
use the below reference
http://www.webmasterworld.com/forum21/1672.htm
With regards,
Gomathi.P
Deepak Bhatia142 reputationPosted Aug 7, 2010, 4:17 AM EDT
Use this script and this will also supress "The page is trying to close the window" warning message.
< a href="javascript:window.opener='x';window.close();">Close< /a>