javascript - IE 10 not event not firing bind() or on() using JQuery -
$('body').unload(function () { }); $('body').on("beforeunload", function () { //if true means logged clicked else page close clicked if (istrue == 0) { btgui.webservices.connectiontoken.getlogoutclientusermethod(logoutclientusermethodsucess); } else { btgui.webservices.connectiontoken.pageclosedxmlmethod(hddclient, hddusername); }
bind()
or on()
events not firing in ie 10,except ie working browsers fine. ie version work i'm using jquery 1.7.0 i'm tested $(window)
not working.
yes, event handler should bound $(window). beforeunload handler supposed return string displayed in confirmation box. seems me you're doing lot more that.
Comments
Post a Comment