摘要: var nodes = $('#basetree').tree('getChecked');var cnode = '';var fnode = '';for ( var i = 0; i < nodes.length; i++) {cnode = nodes[i].text+nodes[i].id;fnode = $('#basetree').tree('getParent', nodes[i].target);alert(fnode.id);} var a = $("#baset 阅读全文
posted @ 2013-11-06 19:07 tao5310 阅读(456) 评论(0) 推荐(0) 编辑
摘要: var nodes = $('#basetree').tree('getChecked');var cnode = '';for ( var i = 0; i < nodes.length; i++) {cnode = nodes[i].text+nodes[i].id;} 阅读全文
posted @ 2013-11-06 19:06 tao5310 阅读(393) 评论(0) 推荐(0) 编辑