Stephen's dev blog

Posts Tagged ‘external

jQuery loading remote/external javascript files using getScript()

Posted by: Stephen Gray on: 22 September, 2008

I’ve been working over the weekend on a site and I got to the part of writing the client side MVC using jQuery (because I love the idea now!).
I found out that jQuery has a nice little method for loading external scripts into the page at run time called getScript(). It basically gets the contents [...]