JSFiddle - React, Tailwind, and code Playground
by ryan Couch
JavaScript
$.when(
//$.getScript( "/mypath/myscript1.js" ),
//$.getScript( "/mypath/myscript2.js" ),
$.getScript( "https://www.w3schools.com/jquery/demo_ajax_script.js?_=1539898208447" ),
$.Deferred(function( deferred ){
$( deferred.resolve );
})
).done(function(){
//place your code here, the scripts are all loaded
//You'll get an error in the console since the script files does'nt exists, but that shows that the browser tried loading them
alert('all done!');
});