Answers for "write the jQuery code to set the 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 "write the jQuery code to set the background color of all p elements to red?"

Code answers related to "Javascript"

Browse Popular Code Answers by Language