adding a class to some images based on the alt text using jquery?
<p>how can i add a class to some images based on the alt text using jquery?</p>

<p>here is an example of the image:</p>

<pre><code>&lt;img border="0" src="images/Product/icon/26086_1_.jpg" 
alt="Show Picture 1" onclick="setcolorpicidx_26086(1);" 
style="cursor:hand;cursor:pointer;"&gt;
</code></pre>

<p>so if the alt text contains "Show Picture" then add a class of <code>image-nav</code></p>
