Hi,
I have a unordered list being shown - each li tag contains an image with an empty span tag under it. I want the title attribute of the image to display in the span tag. I am using this below and it works, but it shows the titles from ALL images in the first span tag... I need to somehow make sure the title from the image goes in its own span tag. I guess I need a way to have a unique ID for each li or each li img...
$(document).ready(function() {
$('#pressThumbs li img').fadeIn(function() {
var $this = $(this);
$("#description").append($(this).attr('title'));
});
});
Thanks
Rob