Revision: 15849
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 19, 2009 16:54 by Zufolek
Initial Code
var d=document; function gebt(s){return d.getElementsByTagName(s)} function addjs(s){ var e=d.createElement("script"); e.src=s+".js"; e.s=s; e.type="text/javascript"; gebt("head")[0].appendChild(e); }
Initial URL
Initial Description
addjs("monkey"); will load "monkey.js" file in the same directory.
Initial Title
Dynamically load javascript .js file
Initial Tags
Initial Language
JavaScript