jstree获取选中节点的id
2018-01-24 00:00
288 查看
要获取选中节点的id集合
$('#jstree').on("changed.jstree", function (e, data) { console.log(data); // newly selected var ids = data.selected; $("wh-range").val(JSON.stringify(ids)); console.log(ids); }).jstree({ "core": { "animation": 0, "check_callback": true, 'force_text': true, "themes": {"stripes": true} }, "plugins": ["search", "state", "types", "wholerow", "checkbox"] });
相关文章推荐
- zTree获取所有选中节点id和名称
- ztree获取当前选中节点子节点id集合的方法(转载)
- jstree 获取选中节点的所有子子点
- ztree获取当前选中节点子节点id集合的方法
- extjs 获取到选中的节点id
- jstree onselect回调方法,获取选中节点的值
- ztree初始化及获取选中节点的id数组(简单粗暴)
- 功能:获取当前选中节点的子节点id集合。
- jsTree 点击节点事件及根据 ID 获取节点方法
- JQuery Tree获取所有checkbox选中节点的id和内容
- ztree获取当前选中节点子节点id集合的方法
- JQuery EasyUi Tree获取所有checkbox选中节点的id和内容
- zTree获取当前选中节点的子节点id集合
- zTree初体验(一)获取所有选中节点数据
- 多个checkbox 获取选中的 并且把传递的id用逗号隔开(jQuery)
- [置顶] MFC树形控件CTreeCtrl使用方法、遍历、SetCheck无效、根据名称获取节点、获取选中节点等问题
- 页面中有相同id,DOM对节点的获取
- Tree组件使用指南之十:获取选中的Tree节点
- 160420、zTree获取所有选中节点数据
- easyui 扩展tree 获取选中节点的级数