I wish to show content based on dropdown value. So 2005 select will only show content with date of 2005 etc.
HTML:
<select id="year" name="Year">
<option value="#" selected="selected">Year...</option>
<option value="#">2007</option>
<option value="#">2006</option>
<option value="#">2005</option>
</select>
-
<li class="pr">
<a class="image" href="image.jpg" width="50" height="50" /></a>
<span class="date">2006</span>
</li>
<li class="pr">
<a class="image" href="image.jpg" width="50" height="50" /></a>
<span class="date">2007</span>
</li>
Had a look at this: jQuery dropdown hide show div based on value
but seems overkill?