开发者

jsTree Selecte most nested node

开发者 https://www.devze.com 2022-12-25 19:09 出处:网络
Greetings, I just started to use jsTree and I have a question for you guys. How can I select only the most nested node - the node which doesn\'t

Greetings, I just started to use jsTree and I have a question for you guys. How can I select only the most nested node - the node which doesn't have any children. additionally, when this node is selected, 开发者_如何学PythonI would like to submit my form which contains the jsTree. How can I then access selected node?


It might be easier to grab the nodes with jQuery:

myTree.find('li').has(':not(ul)');
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号