JQuery

How to dynamically change the image source using jQuery?

How to dynamically change the image source using jQuery?, someone asked me to explain?
In this tutorial I will show you how to change the image source using jQuery.  Here, I have changed the source of the image on button click event.

CHANGE THE SRC OF THE IMAGE USING JQUERY:

 $("#btnCheckStatus").click(function (e) {
    
       $('#imgStatus').attr('src','/img/monetized.png');

     });

VIDEO TUTORIAL CHANGING THE IMAGE SRC:

Post your comments / questions