How about jQuery.getScript()? It’s built in to jQuery and works like so:
$.getScript('ajax/test.js', function() {
alert('Load was performed.');
});
How about jQuery.getScript()? It’s built in to jQuery and works like so:
$.getScript('ajax/test.js', function() {
alert('Load was performed.');
});