title: Updating jqTree after initialization?
body: <p>I'm new with <a href="http://mbraak.github.com/jqTree/" rel="nofollow">jqTree</a> and I'd like to reload the tree after ajax call. I have something like this :</p>
  
  <pre><code>$("select").change(function(){
      var url = 'lab.json';
  
      if ($(this).val() === 'RAD') {
          url = 'rad.json';
      }
  
      $.get(
          url, 
          function(jsonData) {
              $("#treedata").tree({data: jsonData});
          }, 
          "json"
      );
  });
  </code></pre>
  
  <p>The first call is working but for the next ones the tree doesn't update with the new data.</p>
  
  <p>Any idea how to update the tree after initialization ?</p>
  
  <p>Thanks</p>
  
  <p>EDIT :</p>
  
  <p>I found a solution but it's not perfect. If someone has a better solution let me know :)</p>
  
  <pre><code> $("#treebox").empty().append('&lt;div id="treedata"&gt;&lt;/div&gt;');
          $("#treedata").tree({
              data: jsonData
          });
  </code></pre>
  
  <p>I have to remove the generated content by jqTree using $.empty() and then initialize jqTree each time I want to update the tree with new data.</p>