easyui CheckBox Tree 复选框实现数据回显

关键点:javascript 回显前,把之前回显的数据清除php //先将回显数据所有清除(重点方法) //获取全部选中节点 var nodes = $('#tt').tree('getChecked'); //遍历,选中的都不选中 for(var i=0; i<nodes.length; i++){ console.info(
相关文章
相关标签/搜索