jquery1.5.2提示jQuery未定义

wuherong 发布于 2012/03/14 16:14
阅读 2K+
收藏 0

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   <base href="<%=basePath%>">
    <title>My JSP 'orders.jsp' starting page</title>
 <meta http-equiv="pragma" content="no-cache">
 <meta http-equiv="cache-control" content="no-cache">
 <meta http-equiv="expires" content="0">   
 <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
 <meta http-equiv="description" content="This is my page">
 <link href="ui/lib/ligerUI/skins/Silvery/css/ligerui-all.css" rel="stylesheet" type="text/css" />
 <script src="javascript/support/jquery-1.4.4.min.js" type="text/javascript"></script>
 <script src="ui/lib/ligerUI/js/plugins/ligerDrag.js" type="text/javascript"></script>  
 <script src="ui/lib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>    
   <script src="ui/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
    <script src="ui/lib/ligerUI/js/plugins/ligerCheckBox.js" type="text/javascript"></script>
 <script src="ui/lib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
  
 <script src="manager/modules/orders/orders.js?rnd=<%=Math.random()%>" type="text/javascript" ></script>
 <link rel="stylesheet" href="css/form.css" type="text/css"></link>
  </head>

 

上面用1.4.4没问题,但是用jquery_1.5.2.js就报jQuery未定义

加载中
0
pyawen
pyawen
你确认文件名写对了?  看一下1.52的路径可以访问不
0
FoxHu
FoxHu

看一下jquery_1.5.2.js文件名是不是写错了!中间是下划线“_”还是减号“-”

返回顶部
顶部