get src image jquery code example Example 1: jquery get img src $('img').attr(src); Example 2: jquery get image src $('#imageContainerId').prop('src')