I-Codierung haben, die in IE funktioniert, aber nicht in Firefox und Chrome ...Event.ClientX funktioniert nicht in Firefox und Chrome
function handleWindowClose() {
if ((window.event.clientX < 0) || (window.event.clientY < 0))
{
event.returnValue = "Are You sure to leave this page";
}
}
window.onbeforeunload = handleWindowClose;
Kann mir jemand helfen ...
Check out: http://stackoverflow.com/questions/2116177/windows-event-is- undefined-javascript-error-in-firefox –