JSFiddle - React, Tailwind, and code Playground
JavaScript
$(document).ready(function(){
$.when($.post('/echo/json/'), $.post('/echo/json/'), {b:2}).done(function(a, b, c){
alert(a);
});
});
$(document).ready(function(){
$.when($.post('/echo/json/'), $.post('/echo/json/'), {b:2}).done(function(a, b, c){
alert(a);
});
});