get id's of immediate child divs of a div in jquery?
<p>how do i get the child divs and put it in a array?</p>

<pre><code>&lt;div id="parent"&gt;
   &lt;div id="child1"&gt;&lt;/div&gt;
   &lt;div id="child2"&gt;&lt;/div&gt;
&lt;/div&gt;

var array = $('#parent &gt; div').... (im stuck).
</code></pre>

<p>thanks!</p>
