Tag Info

New answers tagged

1

Use window.onbeforeunload in edit mode to perform all your operations. Here is how you check edit/display mode window.onbeforeunload = function (e) { var message = "Your confirmation message goes here.", e = e || window.event; // For IE and Firefox if (e) { e.returnValue = message; } // For Safari return ...



Top 50 recent answers are included