导入jquery等标签库引发的无法使用问题

在确认标签导入路径正确时却无法使用导入的标签,有可能是因为你的js中用的是<script language="text/javascript" src="<%=request.getContextPath()%>/js/jquery-1.3.2.min.js"></script>
将其改为<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-1.3.2.min.js"></script>即可
原因是因为language属性渐渐废弃,由type代替其功能

猜你喜欢

转载自BridgenLi28.iteye.com/blog/2267220