Is it possible to store two values in a dropdown box and update two images when a option is selected?
For example purpose I have a html dropdown box and two images:
<img src="image1.jpg" />
<img src="image2.jpg" />
<option selected="selected" value="default images">default</option>
<option value="img1.jpg, img2.jpg">USA</option>
<option value=", img2.jpg">UK</option>
now what im trying to do is: the first image in the option value should be replace image 1 and the img2.jpg should replace image2.jpg
But sometimes I will only have one image value like the UK option in which case the dropdown box should update image1 to a blank image
but should update image two with img2.jpg.
I don't really know how I can do this is this possible with JQuery?
If so how should I start to get this working?
thanks for any help.