What jquery experssion would give me ['a','b'] for the doc <tag att1='a' /><tag att1='b'/>
<p>What jquery experssion would give me <code>['a','b']</code> for the doc <code>&lt;tag att1='a' /&gt;&lt;tag att1='b' /&gt;</code>.</p>

<p>Even though the question seems straight forward enough, I've added more info here to pass the automated quality standards on the question submission form.</p>

<p>The actual case I'm working on is to list an array of all the images used in an html doc (not the  tags, but the actual locations of the images). So the desired result will be something like <code>["http://mywebsite.com/path_to_image_1.jpg", ...]</code> for a document that contains snippets like:</p>

<pre><code>&lt;img src="http://mywebsite.com/path_to_image_1.jpg" /&gt;
&lt;img src="http://mywebsite.com/path_to_image_2.jpg" /&gt;
</code></pre>

<p>I really don't want to have to list all the  tags, then iterate manually to get the src attribute.</p>
