摘要:
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 阅读全文
摘要:
var nodes = $('#basetree').tree('getChecked');var cnode = '';for ( var i = 0; i < nodes.length; i++) {cnode = nodes[i].text+nodes[i].id;} 阅读全文