2 title: Javascript tree with drag and drop
4 js: examples/drag_and_drop.js
9 <a href="../02_load_json_data_from_server/">« Example 2</a>
10 <a href="../04_save_state/" class="next">Example 4 »</a>
13 <h1>Example 3 - Drag and drop</h1>
15 <div id="tree1" data-url="/example_data/"></div>
18 Let's add drag-and-drop support by setting the option <strong>dragAndDrop</strong> to true.
19 You can now drag tree nodes to another position.
27 <li>The option <strong>autoOpen</strong> is set to 0 to open the first level of nodes.</li>
33 <div id="tree1" data-url="/example_data/"></div>
39 var $tree = $('#tree1');