i am using jstree and am already adding new nodes with the create_node function. But can anyone tell me how to add "li_attr" data while using the create_node function?
Thanks in advance
.jstree('create_node', $(parent_node), eval(new_node_text), position, false, false);
Hope This helps you. You can modify the li_attr property to include any other attributes or values that you need for your use case.