prepend href with same class
<p>I have the following code on the my page...</p>

<pre><code>&lt;a href="javascript:change_product_photo(2);"&gt;&lt;img id="alternate_product_photo_2"    style="border-color:#666666;" src="/v/vspfiles/photos/00-6189-2S.jpg" border="1"&gt;
</code></pre>

<p>Sometimes there could be more of the <code>&lt;a href="javascript:change_product_photo(4);"&gt;</code> and each one would have a higher index number 5, 6 ,7, etc. </p>

<p>What I want to do is for each and every instance of the href with <code>javascript:change_product_photo(x)</code> (where x is the index) remove both "_" from the <code>change_product_link</code> but leave the <code>(x)</code> index</p>

<p>My thought was to first add a class to all hrefs that contain <code>javascript:change_product_photo</code> and then modify all of the href;s with that class but I am lost on how to do this.</p>

<p>Here is what I got so far...</p>

<pre><code>$("a[href*='javascript:change_product_photo']").addClass('link_fix');
</code></pre>

<p>Now I don't know how to remove the "_" from the url.</p>
