get image src from another html element jquery code example Example: jquery get image src $('.img1 img').attr('src');