互联网第一贴:dwz tree tname取值这么写才对!
$("#t2 div.checked input[type='checkbox']").each(function(i,a){
//alert(a.value+a.checked);
oidStr +=a.value+','; //拼接字符串
});
// alert(oidStr);
$("#resultBox").html(oidStr);
$("#t2 div.checked input[type='checkbox']").each(function(i,a){
//alert(a.value+a.checked);
oidStr +=a.value+','; //拼接字符串
});
// alert(oidStr);
$("#resultBox").html(oidStr);