I have an AJAX-based grid control.
We hook into the window.onbeforeunload event to check if they have unsaved data and if so present them with a message \"Are you s
This is really weird, are you sure your Ajax call isn't loading a new link?
Be sure you read this relevant specification: onbeforeunload spec
See if the Ajax call maybe triggers any of the actions listed in the To invoke table.