Answers for "correct jquery code to set background color of all p elements to red"

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 "correct jquery code to set background color of all p elements to red"

Code answers related to "Javascript"

Browse Popular Code Answers by Language