jsTree v.1.0

DEMO

Creating a tree, binding events, using the instance

Here is how you create an instance, bind an event and then get the instance.

Doing something when the tree is loaded

You can use a few events to do that.

Doing something when a node is clicked

Using CSS to make nodes wrap

Using CSS to make the nodes bigger

PHP & mySQL demo + event order

Here is a PHP & mySQL enabled demo. You can use the classes/DB structure included, but those are not thoroughly tested and not officially a part of jstree. In the log window you can also see all function calls as they happen on the instance.