Browser Tab Close Event for javascript or jquery -


i have added div contains survey questions hidden. once user closes window or navigate away page, need popup survey div confirmation. know there browser default confirm box method using onbeforeunload event. need popup div rather browser default confirm box. there way this? (or there way interrupt close event without clicks on "stay on page" button found in browser default confirm box?)

update : seems cannot action asking. there solutions cover in ie overall not possible. ignore previous code.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -