Changing href attribute
<p>In need to change a part of this href:</p>

<pre><code>&lt;a href="media/xxxxx-yyy.jpg"&gt;large pic&lt;/a&gt;
</code></pre>

<p>I have some designs, and some colors, xxxxx stands for designnumber and yyy for colornumber, when one of the designs is clicked or one of the colors the href should
change according to the value:</p>

<pre><code>&lt;a href="#"&gt;design1&lt;/a&gt;
&lt;a href="#"&gt;design2&lt;/a&gt;
&lt;a href="#"&gt;design3&lt;/a&gt;

&lt;a href="#"&gt;color1&lt;/a&gt;
&lt;a href="#"&gt;color2&lt;/a&gt;
&lt;a href="#"&gt;color3&lt;/a&gt;
</code></pre>

<p>Is there any way to do this with JQuery?</p>
