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 -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -