Basic markup

jsTree can turn a regular unordered list into a tree. The minimal required markup is a <ul> node with some nested <li> nodes with some text inside.

  • Root node 1
  • Root node 2
Nodes with children

To create a node with child nodes simpy nest an <ul>.
Internally jstree converts the text to a link, so if there already is a link in the markup jstree won't mind. Like Child node 2.

close
Activity Logs
Search Results
close
  • Lorem ipsum dolor sit amet, consectetur hj adipiscing elit, sunt in culpa quifdaasd quis.

  • Duis non semper sapien. Morbi imperdiet velit in hj bibendum lobortis. Integer arcu urna, elementum in pellentesque nec, finibus at nisi.