Wednesday, August 21, 2013

JQuery: Change Image with OnClick Event

This is something simple with jquery function:
http://jsfiddle.net/Kj58T/1/

1 comment:

  1. Like this also can ma:
    $('#flower').click(function() {
    $(this).attr('src','https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRFX0FceGBz79xskmbx2S6Y3iHyzkb6bTT_D-8n7s9CTWDfyfgX');
    });

    ReplyDelete