title: How do I open all nodes in jquery Jstree?
body: <p>I am using the following code:</p>
  <pre><code>$(&quot;#treeview&quot;).jstree();
  $(&quot;#treeview&quot;).jstree('open_all');
  </code></pre>
  <p>With the following html:</p>
  <pre><code>&lt;div id=&quot;treeview&quot;&gt;
    &lt;ul&gt;
      &lt;li&gt;
        &lt;a href=&quot;#&quot;&gt;RTB&lt;/a&gt;
        &lt;ul&gt;
          &lt;li&gt;
            &lt;a href=&quot;#&quot; onclick=&quot;goTo('index.php?module=alarm&amp;amp;pagina=dashboard&amp;amp;id=6',false);&quot;&gt;Beneden&lt;/a&gt;
          &lt;/li&gt;
          &lt;li&gt;
            &lt;a href=&quot;#&quot; onclick=&quot;goTo('index.php?module=alarm&amp;amp;pagina=dashboard&amp;amp;id=7',false);&quot;&gt;Boven&lt;/a&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  <p>My problem is that all nodes stay closed, I can't get them to open with <code>jstree('open_all');</code>.</p>