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