Skip to content Skip to sidebar Skip to footer
Showing posts with the label Onbeforeunload

Jquery Unload With An Ajax Call Not Working In Chrome

This is my very simple code snippet: $(window).unload(function() { $.ajax({ url… Read more Jquery Unload With An Ajax Call Not Working In Chrome

Chrome Back Button Terminates Upload Stream Unexpectedly

I'm providing users form-based file uploads (one at a time) with ajax updates/progress bars. I … Read more Chrome Back Button Terminates Upload Stream Unexpectedly

Check If Changes Saved Before Unload

I have the following JavaScript EDIT: included assignments for changesSaved var changesSaved = tru… Read more Check If Changes Saved Before Unload

Showing A Jquery Popup Before Browser Window Closes

I'm using the following js to show a popup before the browser/window closes. But it does not se… Read more Showing A Jquery Popup Before Browser Window Closes

Window.onbeforeunload Performing Query

I'm trying to perform a post query when the user leaves the page. The code I'm working with… Read more Window.onbeforeunload Performing Query

Don't Have Time To Send Get Request On Window Unload

I want to notify the server on user closes browser window. I tried all of the $(window).bind('b… Read more Don't Have Time To Send Get Request On Window Unload

Onbeforeunload To Redirect User

In my OnBeforeUnload event, it asked the user whether they want to leave the page or stay on it. Wh… Read more Onbeforeunload To Redirect User

How To Trigger Onbeforeunload With Back Button In An Ajax Based Application?

I have an ajax based application (ie no page 'reloads` when getting new data). Initially I wa… Read more How To Trigger Onbeforeunload With Back Button In An Ajax Based Application?