You are browsing the old site - check the new version out


Some settings or functions do not work properly, tree is not behaving properly.

USE VALID IDs: ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").

If you use periods (".") in your IDs keep in mind jsTree deals with jquery selectors. So an ID like this:, would become "#my\\.id".

I am using XML as data source, but I get infinite loading.

First of all – make sure you are running your files on a web server and not from the local file system (the address you see in the browser should not begin with ‘file://’).
Also check the headers the server returns for the file you request. Any XML file should be preceded by a `text/xml` header.

Where are the docs for previous jstree versions.

A copy of the documentation for a given version is available in each download.

I am redirecting the page onclick and use the cookie plugin, I get an infinite loop.

Check if this is the first time this page loads. Otherwise as the page loads, the script selects the last selected node and leads to another refresh of the same page – endless cycle. Try this in your select_node event handler:

  if(!first) {
    first = true;
  document.location.href = ...