Sourabh Dhiman

Sourabh Dhiman

  • 1.6k
  • 225
  • 6.7k

Not Run Jquery Method ?

Oct 3 2019 6:06 AM
$(window).on("beforeunload", function () {
debugger;
var id = getCookie();
console.log("TestID =" + id);
removeSoftbooking(id);
})
 
This code run successfully then reload browser . but not run this method close a browser and close a browser tab .
Any help me please  ?

Answers (3)