Changing href atribute
- by ferrucio
In need to change a part of this href:
<a href="media/xxxxx-yyy.jpg">large pic</a>
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:
<a href="#">design1</a>
<a href="#">design2</a>
<a href="#">design3</a>
<a href="#">color1</a>
<a href="#">color2</a>
<a href="#">color3</a>
Is there any way to do this with JQuery?