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