jquery add remove class clicked element

89

jquery add remove class clicked element -

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

Comments

Submit
0 Comments