JSFiddle - React, Tailwind, and code Playground
by danheberden
JavaScript
$(document).ajaxSend(function(e, request, settings) {
settings.data = "html=taken over";
});
$.ajax({
url: '/echo/html/',
data: { html: "howdy", delay: 2 },
type: 'POST',
dataType: 'html',
success: function( data ){ $('body').append( data ); }
});