onbeforeunload
Difference between onbeforeunload and onunload
What are the differences between onbeforeunload and onunload ? Also I have a specific question related to it\'s use on the iPad...I have a page (myPage.html) where I am trying to show an alert when th[详细]
2023-03-24 20:47 分类:问答Is there any way to use window.onbeforeunload on Mobile Safari for iOS devices?
Looks like Apple has disabled the window.onbeforeunload event for iOS devices (iPhone, iPad, iPod Touch). Unfortunately I can\'t find any documentation as to why this event doesn\'t work in Mobile Saf[详细]
2023-03-24 04:09 分类:问答Onbeforeunload event support on iPad [duplicate]
This question already has answers here: window.onbeforeunload not working on the iPad? (8 answers) 开发者_如何学JAVA[详细]
2023-03-23 19:15 分类:问答onbeforeunload doesn't seem to work in Safari or Chrome
I am working on this page: http://www.weloveflyers.co.uk/order.php After someone has entered their order details and click \"Let\'s Go!\" the order information is captured, displayed for them to chec[详细]
2023-03-23 15:56 分类:问答How to determine when a user is leaving a webpage (excluding certain links)
The situation: I have a Grails webpage with two tables. One table displays a persons information (including certain flags), and the second table has a list of flags with 开发者_Python百科an \"add butt[详细]
2023-03-23 12:55 分类:问答window.onbeforeunload for a hash URL?
Typically if you have some text and you want to warn the user about saving before leaving the page, you just do something like ....[详细]
2023-03-21 05:45 分类:问答What user actions trigger beforeunload in which browsers?
c开发者_运维知识库losing window refreshing page clicking on a link ?? It seems to be inconsistent. (I\'m shocked!) Is there a list somewhere? I\'m particularly interested in Firefox, but am curious[详细]
2023-03-21 02:06 分类:问答Manage when someone tries to close the browser window/tab
In my onbeforeunload event, it asked the user whether they want to leave the page or stay on it. When they click \"stay on page\", I want it to then redirect them to another webpage in the same window[详细]
2023-03-19 03:57 分类:问答How to collect return value of onbeforeunload
I am displaying a warning message if user try to close window without saving the form. window.onbeforeunload = askConfirm;[详细]
2023-03-17 13:31 分类:问答Javascript event never triggering
I am working on a signup for the mailing list and an trying to make the page and js file not be cached by the browser. Thus, I use a f开发者_开发百科ake query string. I am trying to get the page to ma[详细]
2023-03-16 04:05 分类:问答