Answers for "how to change background using jquery"

0

change background image with jquery

jQuery(document).ready(function($) {
    $('.bg-image').css("background-image", "url('myurl.jpg')");
});
Posted by: Guest on October-29-2020
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 "how to change background using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language