I have an empty div, like this:
<div class="albums"></div>
When user login in I call getPhotos();
function, and this function add some data inside albums
div, like this:
$('<div class="photo"><img class="photoimg" src="IMG" ></div>').appendTo($('.albums'));
adding data successfull.
I see images but I think jQuery doesnt see.
I cant select images.
$('.photoimg').click(function(){
alert();
});
any other solution?