correct jquery code to set background color of all p elements to red code example
Example: how to change the background color in jquery
$("#co").click(function(){
$(this).css({"backgroundColor" : "blue"});
});
$("#co").click(function(){
$(this).css({"backgroundColor" : "blue"});
});