摘要: 默认加载一级几点/* *页面加载* */ $(document).ready(function(){ /* *数据加载* */ $.fn.zTree.init($("#tree"), setting, zTreeNodes); /* *默认展开一级节点* */ var treeObj = $.fn.zTree.getZTreeObj("tree"); var nodes =treeObj.getNodes(); treeObj.expandNode(nodes[0],true); }); 阅读全文
posted @ 2013-08-10 12:07 田亦裔 阅读(653) 评论(0) 推荐(0) 编辑