jQuery get the image src January 23, 2022 by admin src should be in quotes: $('.img1 img').attr('src');