Javascript On Demand with jQuery.getScript()

Ever wonder if there was a better way to load external scripts and improve your website's loading performance? Once again, jQuery to the rescue!

With the jQuery.getScript() method, you can load external scripts exactly when you need them. (The old approach is just load everything you might need all at once either at the top of the page within the , or at the bottom after all of the DOM elements load.)