how to get the src of an image using jquery code example Example: jquery get image src $('.img1 img').attr('src');