I am trying to run the jstree plugin following the “Predefined HTML” example on this page: http://luban.danse.us/jazzclub/javascripts/jquery/jsTree/reference/_examples/1_datasources.html
To avoid a conflict with anything else that could happen, I tried to get it to work on the simplest page in my open Dropbox folder: http://dl.dropbox.com/u/846812/jstree_example/jstree_example.html
Js only, which I have included in my page, jquery and is the main file jstree, jsTree/jquery.jstree.js. (The documentation is a little shaky about exactly what I need to include, but maybe this is a problem). The remaining downloaded files are located next to jquery.jstree.jsthe folder jsTree.
I also have a predefined html, a nested list in a div with id = "folder_tree".
When javascript starts, I get an error Uncaught TypeError: Object #<Object> has no method 'delegate'from line 3629 of the file jquery.jstree.js, I hope you see this error too.
Can someone take a look at the page (link above) and see what I'm doing wrong? thanks max
(note that the links on this page do not work - they do not need jstree to work)
source
share