这个jsp页面没有导入jquery,为什么可以用jquery的函数?
<%@ page language="java"
import="java.util.*,com.qdzq.iacp.entity.*,com.qdzq.zzpt.vo.*"
pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
//Page<zzpt_car> p = (Page<zzpt_car>) request.getAttribute("page");
List<Iacp_device> trees = (List<Iacp_device>)request.getAttribute("deviceList");
%>
<div class="pageContent">
<div class="pageFormContent" layoutH="58">
<ul class="tree expand">
<li><a href="javascript:">中国设备</a>
<ul>
<li><a href="javascript:">A组</a>
<ul>
<% for(Iacp_device device:trees){
%>
<li><a href="javascript:" onclick="$.bringBack({id:'<%=device.getDevice_code() %>', device_name:'<%=device.getDevice_name() %>'})">
<%=device.getDevice_name() %>(<%=device.getDevice_code() %>)
</a>
</li>
<%
}
%>
</ul>
</li>
<li><a href="javascript:">B组</a>
</li>
</ul>
</li>
<li><a>美国设备</a>
<ul>
<li><a href="javascript:">A组</a>
</li>
<li><a href="javascript:">B组</a>
</li>
</ul>
</li>
</ul>
</div>
<div class="formBar">
<ul>
<li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
</ul>
</div>
</div>
废叔F.AL
9 years, 4 months ago
Answers
http://shiyun1013.blog.163.com/blog/static/1077403620134910461749/
如果你是在chrome的console看的话,请参考第7条
lvnoda
answered 9 years, 4 months ago