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

Integrate the usage of metadata, click the node event ,attrs,toggle nodes and ajax json

other usage refer to documents

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.

Install Guide

If the follow demo not work,pls do follow describe step by step:

1) Create a database and a user with all privileges for this database.
2) Edit the config.php file and update the configuration for the database at the top of the file
3) Import the _dump.sql in your newly created database
4) You are ready to go
*) PLEASE NOTE THAT THE PHP TREE CLASS HAS NOT BEEN THOROUGHLY TESTED