jQuery get the image src

src should be in quotes:

$('.img1 img').attr('src');

Leave a Comment