title: How to get jQtree to read the initial tree from the HTML's source
body: <p>until now I've been using <a href="https://github.com/jzaefferer/jquery-treeview" rel="nofollow">jQuery TreeView</a> for <a href="http://www.shlomifish.org/" rel="nofollow">my website's</a> navigation menus, but now since the main navigation menu (on the left pane) has grown too large (Vim reports it takes 40869 bytes out of a typical page's 67054 bytes) I would like to make it less comprehensive in the raw HTML, and populate the remaining parts using AJAX calls that fetch JSON.</p>
  
  <p>However, jQuery Treeview cannot do that (and its author claims it is incomplete), so I'm looking into <a href="http://mbraak.github.com/jqTree/" rel="nofollow">jqTree</a>. jqTree seems to be able to handle AJAX stuff, but I don't understand from the documentation how I can get it to read an initial tree skeleton from some &lt;ul&gt;&lt;li&gt; tags in the HTML, which I want to keep for people whose browsers don't support JavaScript or block it by default (I am using NoScript to blacklist all domains my default and am often irritated that sites don't even display correctly without JavaScript).</p>
  
  <p>I suppose I can write some jQuery code to traverse the &lt;ul&gt;&lt;li&gt; structure recursively using jQuery's DOM support and construct some JSON out of it (with some amount of difficulty), but I'm wondering if it is a solved problem?</p>
  
  <p>Thanks in advance,</p>
  
  <p>— Shlomi Fish</p>