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

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

java - Reaching JTextField in a DocumentListener -

c# - Add Image in a stackpanel based on textbox input -