Insert script programatically with jQuery

by syamsoul

JavaScript

$.getScript( "https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.all.min.js" ).done(function( script, textStatus ) {
	Swal('Any fool can use a computer');
});