1
Answer

Code issue into jquery ?

window.onunload = function () {
if ((window.event.clientX < 0) || (window.event.clientY < 0)) // close button
{
var Data = $("#transactionID").val();
removeSoftbooking(Data);
alert("CLose browser");
}
else if (window.event.altKey == true) // ALT + F4
{
var Data = $("#transactionID").val();
removeSoftbooking(Data);
alert("Tab Close");
}
else // for all other unload events
{
var Data = $("#transactionID").val();
removeSoftbooking(Data);
}
Not Run Code Google chrome ,FF, Safari . 
Please please my help
Answers (1)