« Example 3
Example 5 »
Example 4 - Save the state
If you set the option saveState to true, then jqtree remembers the tree state after a page reload.
-
JqTree save the state into localStorage.
html
javascript
Giving the saveState a string value sets the storage key. The default key is 'tree'.