最佳答案
将脚本标记放在正文的结束标记(</body>
)之后有多错误?
<html>
....
<body>
....
</body>
<script type="text/javascript" src="theJs.js"></script>
</html>