日期:2014-05-16 浏览次数:20369 次
1. function js_include(fileName){ document.write('<script type="text/javascript" src="' + fileName + '"></script>'); } 2. document.scripts[0].src="newjs.js" 3. <div id=test>script</div> <script> var S ='<span> </span><script DEFER>' + 'alert("hi");'+ '</script' + '>'; document.all.test.innerHTML = S; </script>