I\'m looking to add a script to an iFrame\'s header while not losing everything contained in the iFrame\'s body or header...
here is what I have right now which does upd
var headID = document.getElementsByTagName("head")[0]; var newScript = document.createElement('script'); newScript.type = 'text/javascript'; newScript.src = 'yourpath'; headID.appendChild(newScript);