js文件无效

index.jsp include 多个子页时

如果都在hand 标签中写的引用js

 

默认 只会起作用的只有最后一个子页的js

浏览器会忽略 前几个子页包括 index.jsp hand中js的作用。

 

 

解决方法

index.jsp include 的子页不要再声明 hand  所有都放在index.jsp中的hand中。

posted @ 2012-12-25 17:57  镇水古月  阅读(171)  评论(0编辑  收藏  举报