JSFiddle - React, Tailwind, and code Playground
by danheberden
JavaScript
var xhr =jQuery.ajax({
async: true,
url: '/echo/html',
data: { html: "zomg", delay: 2 },
error: function() {alert('error');},
complete: function() {alert('complete');}
});
xhr.abort();