javascript - window.onbeforeunload not working in chrome -


possible duplicate:
window.onbeforeunload not working in chrome

window.onbeforeunload=function(); not working in chrome.. works ie , mozila not works chrome.. there way use window.onbeforeunload=function(); in chrome......... in advance.......

i have tested following in chrome , works...

    window.onbeforeunload = function () {         alert("hello");     }; 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -