onbeforeunload function works in IE not in Mozilla why?
<p>I am using <strong>onbeforeunload</strong> function to alert the user before he closes his browser window. This works in IE, but not in Mozilla..is there any solution for this? Or with the help of jquery can we attain it?</p>

<p>Thanks in advance
Sooraj</p>
