if the GET request is made as follows
$(window).bind('beforeunload', function() {
and the page is left until the GET request is completed ,
will the target server process the request ? Or will it somehow disappear?
I would like to send the server data to "beforeunload", but without stealing useless ms from the user.
It would be very helpful if someone could help me.
javascript ajax javascript-events get onbeforeunload
Radianthex
source share