如何动态在文档中加入<script></script>写入大段js
<script language="javascript"> var script = document.createElement("script"); script.language = "javascript"; script.text = "alert('hello world!')"; document.body.appendChild(script); </script>
<script language="javascript"> var script = document.createElement("script"); script.language = "javascript"; script.text = "alert('hello world!')"; document.body.appendChild(script); </script>