This sample initializes the tree from a JavaScript object. An onActivate handler brings up an alert box when a node is selected.
jquery.dynatree.js project home Link to this page Example Browser View source code