onbeforeunload
Help required on onbeforeunload or click on browser back button
If a user clicks the browser\'s back button, then I want a prompt to appear and ask for confirmation. If the user clicks \'OK\', then it should navigate to xx.html. If the user clicks \'Cancel\', then[详细]
2023-01-25 07:50 分类:问答window.onbeforeunload, but for a frame?
I\'m trying to put up a warning message about leaving a webpage, but it is nested inside a frameset. Apparently window.onbeforeunload triggers if I load the webpage as the root page in the browser, b[详细]
2023-01-24 04:36 分类:问答Window.OnBeforeUnload
I am trying to create a customisation to our existing software, which launches on this event. I need to be able to catch the window.onbeforeunload again once the user has made their choice.[详细]
2023-01-21 07:21 分类:问答safari javascript issue
attached javascript does not work in safari. this script displays a confirmation message before navigating away from the current page.[详细]
2023-01-21 02:01 分类:问答getting URL before unloading in IE
Can I get the updated URL before the page unloads. I\'d like to check if this URL is still the URL being used by the user during a refresh.I\'d like to do something before the user changes to another[详细]
2023-01-17 11:04 分类:问答how to identify onbeforeunload was caused by clicking close button
How do I determine 开发者_JAVA技巧if onbeforeunload was caused by clicking the close button or a page refresh or generally what event caused onbeforeunload?[详细]
2023-01-16 19:16 分类:问答window.onbeforeunload support in Firefox
I am using window.onbeforeunload in my javascript. This works perfectly in IE but is not triggered in Firefox.[详细]
2023-01-16 15:52 分类:问答Issue with onbeforeunload event handling in firefox [duplicate]
This question already has answers here: 开发者_Python百科Crossbrowser onbeforeunload? (5 answers) Closed 8 years ago.[详细]
2023-01-14 07:14 分类:问答Get Firefox mouse event on onbeforeunload when it doesn't exist?
so the onbeforeunload event doesn\'t have mouse information, so how do I get mouse XY? I am trying to know if the user clicked the close buttom on the browser to log them out right away (20minutes of[详细]
2023-01-13 11:00 分类:问答Window beforeunload shows two dialogs
I have this jQuery code; $(function () { $(window).unbind(\"beforeunload\"); $(window).bind(\"beforeunload\", function () {[详细]
2023-01-11 18:46 分类:问答