<script language="javascript" src="include.js"></script>

解决方案 »

  1.   

    @import 好像是在JScript的脚本文件中使用的,你要在index.htm中使用多个脚本文件的内容,你就要按照 lfecnu() 的方法了,注意顶层脚本是会自动执行的。
      

  2.   

    index.htm
    ====================
    <script>
    <!--
    document.write("helloworld");
    document.write('<scr'+'ipt src="include.js"></scr'+'ipt>');
    document.write("ok?");
    //-->
    </script>
      

  3.   

    donghid(想得太多,快要疯掉了!神哪,让我静下来)  的写法就行了。