Does anyone know why this brings external js to the iframe in NON-IE:but not in IE?Code:<head> <script type="text/javascript"> function fetch_js() { var html_doc = frames.ifr.document.getElementsByTagName('head')[0]; var js = document.createElement('script'); js.type="text/javascript"; js.src="alarm.js" html_doc.appendChild(js); } window.onload=fetch_js </script> </head> <body> <iframe id="ifr" name="ifr" src="file1.html"></iframe>
===
Thanks,
Arie Molendijk.



Reply With Quote
Bookmarks