js报错'$.data(...).panels' 为空或不是对象 10
window.open(jsContextPath+'/admin/customer/task/task_manage.jsp?customerId='+customer...
window.open(jsContextPath+'/admin/customer/task/task_manage.jsp?customerId='+customerId,'mainFrame');
task_manage.jsp:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
Long customerId = (Long)request.getAttribute("customerId");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<%@include file="../../common_css_js.jsp"%>
<script type="text/javascript"
src="../../js/common/customer/task.js"></script>
</head>
<body class="easyui-layout">
<div region="center" title="任务管理" style="overflow: hidden;">
<div class="easyui-tabs" fit="true" border="false" id="task-tabs">
<div title="未完成任务" closable="false" style="padding:20px;"
href="<%=basePath%>admin/customer/task/task_undone1.jsp">
</div>
<div title="已完成任务" closable="false"
style="padding: 20px; overflow: hidden;">
<jsp:include page="task_done.jsp" ></jsp:include>
</div>
</div>
</div>
</body>
</html>
jquery.easyui.min.js中 return $.data(jq[0],"layout").panels[_2a4]; 这块报错 '$.data(...).panels' 为空或不是对象 展开
task_manage.jsp:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
Long customerId = (Long)request.getAttribute("customerId");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<%@include file="../../common_css_js.jsp"%>
<script type="text/javascript"
src="../../js/common/customer/task.js"></script>
</head>
<body class="easyui-layout">
<div region="center" title="任务管理" style="overflow: hidden;">
<div class="easyui-tabs" fit="true" border="false" id="task-tabs">
<div title="未完成任务" closable="false" style="padding:20px;"
href="<%=basePath%>admin/customer/task/task_undone1.jsp">
</div>
<div title="已完成任务" closable="false"
style="padding: 20px; overflow: hidden;">
<jsp:include page="task_done.jsp" ></jsp:include>
</div>
</div>
</div>
</body>
</html>
jquery.easyui.min.js中 return $.data(jq[0],"layout").panels[_2a4]; 这块报错 '$.data(...).panels' 为空或不是对象 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏10(财富值+成长值)
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询