javascript - OnUnload not working in chrome and opera -
i know there many links regarding onbeforeunload,beforeunload , onunload events of javascript have cross browser problems. after going through, possibly, questions, want ask again
is there way onunload can work chrome , opera?
i don't want use onbeforeunload pops before closing window.in application user clicks "save , exit" button after alert box popped showing "your details saved" ok button. clicking on ok button redirects user new popup asking window close yes , no buttons. onbeforeunload event returns string, hence doesn't allow me show "alertbox" asks leave page , stay on page. not in alliance application requirement want alert box. (working fine in ie, not working in opera , chrome). using unload , onbeforeunload events code behind c#
Comments
Post a Comment