Sourabh Dhiman

Sourabh Dhiman

  • 1.6k
  • 323
  • 16.6k

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  ?

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (3)