Answers for "how to set an element background image 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
0

jquery add style background-image

$('myObject').css('background-image', 'url(' + imageUrl + ')');
Posted by: Guest on August-09-2021

Code answers related to "how to set an element background image using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language