<script type="text/javascript">
tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",-1); //参数:树显示的位置,宽度,高度,标明父节点到树根节点的深度
tree.setXMLAutoLoading('<%=request.getContextPath()%>/sms/page/jsp/menuinfo/getMenuInfo.do');//展开树发送的请求 如果不加的话就会不现实有下级菜单
tree.loadXML('<%=request.getContextPath()%>/sms/page/jsp/menuinfo/getMenuInfo.do');//页面第一次打开的时候,访问的请求
tree.setImagePath("<%=request.getContextPath()%>/sms/page/images/");//指明了树图标的路径
tree.enableCheckBoxes(false); //没有复选框 多选框是否有效,默认显示多选框
tree.setOnClickHandler(getTreeId);
</script>
tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",-1); //参数:树显示的位置,宽度,高度,标明父节点到树根节点的深度
tree.setXMLAutoLoading('<%=request.getContextPath()%>/sms/page/jsp/menuinfo/getMenuInfo.do');//展开树发送的请求 如果不加的话就会不现实有下级菜单
tree.loadXML('<%=request.getContextPath()%>/sms/page/jsp/menuinfo/getMenuInfo.do');//页面第一次打开的时候,访问的请求
tree.setImagePath("<%=request.getContextPath()%>/sms/page/images/");//指明了树图标的路径
tree.enableCheckBoxes(false); //没有复选框 多选框是否有效,默认显示多选框
tree.setOnClickHandler(getTreeId);
</script>