I have a menu such as this:
<select>
<option value="21">option a</option>
<option value="13">option b</option>
<option value="21">option c</option>
</select>
Depending on what option is being selected I need get the corresponding value to use elsewhere in links and images. (it also needs to pull from the default option before it is clicked)
<img src="mysite.com/images/[valuegoeshere].jpg">
<a href="mysite.com/pages/[valuegoeshere].jpg">
There are several unique versions of these drop downs on page.
What is the easiest way to do this?
Use the following on
$(document).ready():DEMO.