2
Answers

Delete Data Into Database ?

window.onunload = function () {
debugger;
var ID = getCookie();
var NewValue = ID.replace("transactionID=", "");
//console.log("transactionID =" + NewValue);
removeSoftbooking(NewValue);
 
With debugger this code can be run.
 
But i want to this code run without  debugger when close my browser. 

Answers (2)