JSFiddle - React, Tailwind, and code Playground

by moagrius

JavaScript

$(document.body).ajaxStart(function(){
  $(this).append('<p>Ajax Start</p>');
});
$(document.body).ajaxStop(function(){
  $(this).append('<p>Ajax Stop</p>');
});
$.ajax({
  url : '/echo/json'
});