var nodes = $('#basetree').tree('getChecked');var cnode = '';for ( var i = 0; i < nodes.length; i++) { cnode = nodes[i].text+nodes[i].id; }