How to select every node that holds the same ID

Posted by Asaf on Stack Overflow See other posts from Stack Overflow or by Asaf
Published on 2010-06-01T07:39:50Z Indexed on 2010/06/01 7:43 UTC
Read the original article Hit count: 149

Filed under:
|

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)

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jstree