Is it possible to send an jQuery.ajax call or equivalent without any sort of response? I want to trigger something on the server as I leave the page with the onbeforeunload
Every request has a response. Even if the server throws an error a response is coming back with the error.
You can ignore the response if you like to just don't add a success callback.
success
$.ajax({ url: "theURL", data: theData });