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

Javascript, Controlling An Onbeforeunload Tag

I'm trying to set up a onbeforeunload tag to stop a user from leaving specific pages if and onl… Read more Javascript, Controlling An Onbeforeunload Tag

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?

How To Show A Modal Dialog Before Beforeunload Shows Its Own?

I do understand that it's not possible to replace the beforeunload dialog with a custom one, an… Read more How To Show A Modal Dialog Before Beforeunload Shows Its Own?

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

Activating Onbeforeunload Only When Field Values Have Changed

What I'm trying to achieve is to Warn the user of unsaved changes if he/she tries to close a pa… Read more Activating Onbeforeunload Only When Field Values Have Changed

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

Sending A Request Back To Server In Onbeforeunload Event

When a user edits a record in my application I track that they have it 'locked' to prevent … Read more Sending A Request Back To Server In Onbeforeunload Event