jQuery: How To Target Image By src

In most cases you'll have various options available to you for targeting a image, but if for some reason you have no other way of getting to a image, and you have access to the header data information then you can use some jQuery magic.

Below is the one line of code you need to get it done.

Done and done….Boom!

Target Image By src
        
$("img[src='image-urk.jpg']").hide();        
    

There are no comments yet