I want to get all links that point to an image, using jQuery
<p>I want to get all links that point to an image. Is there an easier way than the following?</p>

<pre><code>$("a[href$=.jpg],a[href$=.jpeg],a[href$=.png]");
</code></pre>

<p>Thanks
Jean</p>
