Ever wondered how to include other javascript files in javascript, here is how you can do it.
You can ask me when this could be useful. You can use it when you want to conditionally include javascript and css files. Lets say on the admin part of the site you want to use a different stylesheet, then you can parse the url and include the stylesheet, given certain parameters or if the url matches a regular expression.

Comments (0)
Leave a comment...