putting source of all images into an array
<p>What is the cleanest way to put the source attribute string of all images within a div into an array?</p>

<p>I was hoping this would work - </p>

<pre><code>var imageSourceArray = $("#leDiv img").attr('src');
alert(imageSourceArray[3]);  //not alerting the source, boo hoo.
</code></pre>

<p>Do I need to loop through $("#leDiv img") and add each src string to an array individually? Or is there a more elegant way to do this?</p>
