How to select every node that holds the same ID
- by Asaf
Hello, I have a Jstree that holds a lot of nodes, some of them have the same ID.
I was wondering, how do I make it so that if someone selects
one of the nodes, it would select every node with the same id.
I tried working with the
onselect: function (node) {
but I'm not sure what exactly to do,
plus I'm not sure how to manually select a node
(because it's all done with the selected: attribute)