Revision: 25256
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 24, 2010 15:55 by mracoker
Initial Code
var headID = document.getElementsByTagName("head")[0]; var newScript = document.createElement('script'); newScript.type = 'text/javascript'; newScript.src = 'http://www.somedomain.com/somescript.js'; headID.appendChild(newScript);
Initial URL
Initial Description
Initial Title
Dynamically Insert External JavaScript with JavaScript
Initial Tags
javascript
Initial Language
JavaScript