Dealing with multiple children nodes under a parent can be tricky. For instance, when trying to open a specific node using
$("#jstree").jstree("open_node", $('#node_27'));
, you may encounter an issue where the parent node is not initially open, causing $('#node_27')
to return an empty array.
If you have the child's ID but they are not yet added to the DOM until the parent is opened, how can you go about opening it?