嵌套使用JavaScript

错误的代码:

程序代码
<script language="JavaScript">
<!–
document.write("<script src=\"urchin.js\" type=\"text/javascript\"></script>");
//–>
</script>

错误的代码:

程序代码
<script language="JavaScript">
<!–
document.write("<script src=\"urchin.js\" type=\"text/javascript\"></script>");
//–>
</script>

正确的代码:

程序代码
<script language="JavaScript">
<!–
document.write("<script src=\"urchin.js\"
type=\"text/javascript\"></scr"+"ipt>");
//–>
</script>

Leave a Reply

Your email address will not be published. Required fields are marked *