![]() My first instinct was to try something with document.write and it worked just OK. Also I wanted to figure out an elegant solution whereby you call only one JS and leave it to that script to include more scripts if needed. Basically not to have a load of s at the top of the page, but only those that are actually needed, when they are needed. I was wondering how feasible it is to call Javascripts only when you need them. This post provides a trail of my experiments with the inclusion of external javascript files. This means that HTTP requests are made without the use of XMLHttpRequest or iframes. Javascript files can be included and executed on the fly - either when loading the page or in run-time.
0 Comments
Leave a Reply. |