i don't know how to explain. It's like this <div class="imglink"><a href="javascript:function();"><img src="img.gif" /></a></div> <div class="imglink"><a href="javascript:function();"><img src="img.gif" /></a></div> <div class="imglink"><a href="javascript:function();"><img src="img.gif" /></a></div> ...
When i click on the link, i call jquery ajax and do something. Can jquery change the img (so that it would give response from ajax) even though the images are the same and they are all in the same class? Or do i have to assign a unique class to each image or wrapper?