jquery add remove class clicked element

86

jquery add remove class clicked element -

$(function() {
    $('img').click(function() {
       $(this).toggleClass('active');
    });
});

Comments

Submit
0 Comments