image.src = $(id).find('img').attr('src'); code example Example: jquery get img src $('.img1 img').attr('src');