Answers for "jquery change background color onclick"

3

how to change the background color in jquery

$("#co").click(function(){
   $(this).css({"backgroundColor" : "blue"});
});
Posted by: Guest on July-09-2020

Code answers related to "jquery change background color onclick"

Code answers related to "Javascript"

Browse Popular Code Answers by Language