title: What function preserve the state of a tree?
body: <p>I used <code>treeview</code> to render my tree after clicking a menu within it :</p>
  
  <pre><code>$("#browser").treeview({
      collapsed: true,
      animated: "fast",
      prerendered: false
  });
  </code></pre>
  
  <p>The problem is that opened submenus are collapsed. So how to preserve the state of the menu ? What other functions , other than <code>treeview</code> can be used for that purpose ?</p>