The onbeforeunload event is triggered before a user navigates away.
Looks like Apple has disabled the window.onbeforeunload event for iOS devices (iPhone, iPad, iPod Touch). Unfortunately I can't find …
javascript iphone ios mobile-safari onbeforeunloadI'm using window.onbeforeunload to display a message to the user on windows close, the function works well with Chrome …
javascript jquery firefox dom-events onbeforeunloadI'm working in a Flex4 application, using javascript, in the "index.template.html" document. I'm having an issue being able …
javascript jquery flex4 onbeforeunloadI am popping up a dialog box when someone tries to navigate away from a particular page without having saved …
javascript jquery dom-events onbeforeunloadI have an AJAX-based grid control. We hook into the window.onbeforeunload event to check if they have unsaved data …
javascript ajax onbeforeunloadwindow.addEventListener("onbeforeunload",function() {return "are you sure?"}); ^ This does not seem to work... at all... the page will simply …
javascript events google-chrome addeventlistener onbeforeunloadI'm displaying certain records in an editable table. The user when attempts to reload the table while editing a record …
javascript firefox google-chrome reload onbeforeunloadI'm building a fail safe for my form that is going to warn users that if they leave the page …
javascript jquery internet-explorer onbeforeunload onunloadI have an onbeforeunload event handler attached to the page which executes every time the page reloads / gets redirected. window.…
javascript jquery onbeforeunloadI'm trying to post data when a user leaves my page. I have finally managed to find a working solution, …
javascript jquery onbeforeunload