How to get all the id from JSTREE -
I am trying to collect every node ID from JSTREE so that I can get maximum ID.
I think this is straightforward .... Any answer is appreciated Thanks!
var ids = []; $ ('.jstree-leaf'). Each (function () {ids.push ($ (this) .attr ('id'))});
Comments
Post a Comment