jQuery get the image src December 11, 2022 by Tarik src should be in quotes: $('.img1 img').attr('src');