日期:2014-05-16 浏览次数:20390 次
    buttons : {
            "确定" : function() {
                var nodes = setting1.getCheckedNodes(true);
                alert(nodes);
                $(this).dialog("close");
            },
            "取消" : function() {
                $(this).dialog("close");
            }
        }
// 初始化树
setting1 = {
    treeId : "zt",
    checkable : true,
    expandSpeed : "slow",
    async : true,
    checkRang : "level",
    isParent : true,
    callback : {
        expand : zTreeOnExpand,
        asyncSuccess : zTreeOnAsyncSuccess,
        change : zTreeOnChange,
        remove : zTreeOnRemove
    }
};
$("#你加载所有节点的外部容器ID:checkbox:checked").each(function (){
    alert($(this).val())
})
------解决方案--------------------
循环判断一下
------解决方案--------------------
解决了啊,恭喜楼主。接分,谢谢
------解决方案--------------------