--- title: Load json data from the server in javascript tree js: examples/load_json_data_from_server.js ---

« Example 1 Example 3 »

Example 2 - load json data from the server

In this example we load the data from the server using the data-url property on the dom element.

html

{% highlight html %}
{% endhighlight %}

javascript

{% highlight js %} $('#tree1').tree(); {% endhighlight %}