JSFiddle - React, Tailwind, and code Playground
by icodeforlove
HTML
Sould alert two requests.
JavaScript
$.ajax({method: 'DELETE', url: '/echo/html/?random=' + Math.random(), success: function () {
alert('request 1');
$.ajax({method: 'DELETE', url: '/echo/html/?random=' + Math.random(), success: function () {
alert('request 2');
}});
}});