Hide the divs starting with same word
<p>I am trying to hide the divs which are starting with same letter. These divs comes dynamically. </p>

<pre><code>$('div[id^="treeDiv"]').each(function() {
    // here i need to hide the divs starting with "treeDiv" 
});
</code></pre>

<p>How to do it. Please give me suggestion.</p>

<p>Thanks</p>
