Answers for "onclick change css jquery"

1

jquery onlcick css change

$('.colors-list li').click(function(e){
    $('.results').css('background-color', 'red');
});
Posted by: Guest on March-19-2021
2

css click event jquery

$('h1').click(function () {
        $(this).css('color', 'blue')
    });
Posted by: Guest on March-05-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language