





$(".myImage").on("click",function()){
var sourceimg=$('img[class="myImage"]').attr('src')
$('img[class="defaultimg"]').attr('src',sourceimg);
});
});
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted Jul 26, 2022, 6:12 AM