Answer the question
In order to leave comments, you need to log in
Will the data be sent when the offline event is triggered to the server?
Good day, there is a task to send a notification to the server after the user logs out of the network.
Suppose an event hangs on the user side:
window.addEventListener("offline", function() {
//some ajax request
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question