im curious to know if it's possible to remotely upload or reference a .html document from a file server through the javascript onload function. I have found out how to implement CSS & JS through the onload function but not quite the HTML. . i would be using this for a CMS that i use daily that limits my page customization..
Implementing JS example:
<img style="display: none;" src="IMAGE_NEEDED_FOR_ONLOAD_IMPLEMENTATION" onload="var body=document.getElementsByTagName('body')[0]; var script=document.createElement('script'); script.type='text/javascript'; script.src='JAVASCRIPT_FILE_GOES_HERE'; body.appendChild(script);">
Anybody happen to have a clue or have experience with this? I'm not looking to use an iFrame. Also, would this harm SEO?