Google adsense

Search

Friday, March 18, 2011

JavaScript: jQuery loading remote/external javascript files using getScript()

FMM: For my memory

$.ajaxSetup({async: false});

$.getScript(MVCRoot+fileName+'.js');

$.ajaxSetup({async: true});


FYI

Thanks,

Info Source: http://colourgray.wordpress.com/2008/09/22/jquery-loading-external-javascript-files-using-getscript/

No comments:

Post a Comment