It looks like you're new here. If you want to get involved, click one of these buttons!
I need to cancel an AJAX request before the response from the server is received if a condition becomes true. Please explain me how to achieve this.
You can use 2 versions of abort() function.