I have a jstree. I want to select the node which is bound to the object which has a location with id of 158. This works but seems stupid. What\'s the more idiomatic way of doing
I was able to simulate a click on a jstree node as an alternative way to select a node. The following code is what was used :
$(treeIdHandle + " li[id=" + nodeId + "] a").click();