利用jquery的ajax方法,与后台的action方法进行关联,具体方法为nav.on("click",function(node,event){
var nodeid = node.id;
var nodeType = node.attributes.nodeType;
var detailUrl = "/organmanage.do?action=showDetail";
$.ajax({
url:sys.getContextPath() + detailUrl,
data:{'id':nodeid,'type':nodeType},
cache:false,
success:function(data){
//alert(data);
$("#detail").html(data);
}
});
  此方法在console.js中,此js引入jsp中,同时引入jquery.js。
  问题是当我运行此方法时,在firefox,360deng浏览器中运行一点问题没有,唯独在ie中运行js脚本出错,显示对象不支持此属性和方法.
  IE8和IE6都出现此问题,为什么?