Having difficulty checking (checkbox) all nodes by a specific class
here is what i have so far, i’m trying to check all the nodes that have the class checkMe
$('.MyTree').jstree('check_node', 'li.checkMe');
Unfortunately it doesnt work 🙂
I can only seem to check or unchecl all the nodes by doing
$('.MyTree').jstree('check_all'); //or uncheck_all
Any ideas?
Thanks in advance
Solution
Why do you find the solutions after you posted on SO and after hours of previous searching 🙂