Hey guys, me again, I know I asked something similar a little while ago, but the function that i need for this it is slightly different, this time I have an ul element with img tags embedded inside a tags. What I need is when the image is clicked to populate an li element, but is the next or last image is clicked I need the same li element populated with the update content. Please find the html below. Thanks in advance.
<div class="filter">
<div class="heading" id="activityLevel">
<p><a href="#">Activity Level</a></p>
<a href="#" target="_self">modify</a>
</div>
<div class="add-filters" id="addActivityLevel">
<div class="inner">
<a href="#" class="btn-close"></a>
<h4 class="title-filtery">Filtery By:</h4>
<ul class="activity-level">
<li><a href="#"><img src="../images/shore-excursions/btn-activity-level-easy.gif" alt="Activity Level Easy" /></a></li>
<li><a href="#"><img src="../images/shore-excursions/btn-activity-level-moderal.gif" alt="Activity Level Moderate" /></a></li>
<li class="last"><a href="#"><img src="../images/shore-excursions/btn-activity-level-extreme.gif" alt="Activity Level Extreme" /></a></li>
</ul>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. iaculis in magna. In ut dolor a lacus adipiscing molestie.</p>
<div class="btn-holder clearfix">
<input type="button" class="btn-cancel" value="" />
<input type="button" class="btn-update" value="" />
</div>
</div>
</div><!-- filters -->
<div class="hidden-filters" id="hiddenActivityLevel">
<p>Filtering by:</p>
<ul></ul>
</div>
</div>