create an array in jquery of all section ids
<p>I have a site that I am building that involves quite a bit of animation. I need to create an array of all the section id in the page. I really have no idea how to do this but a pretty sure this is the right direction. I am first just trying to get those values:</p>

<pre><code> var $find = $('body').find('section[id]');
</code></pre>

<p>I have tried alerting the output and I just get object Object? Can someone poijt me in the right direction.
Thanks</p>
