Answers for "jquery set background-image url"

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 set style background image

$('myObject').css('background-image', 'url(' + imageUrl + ')');
Posted by: Guest on May-02-2020

Code answers related to "jquery set background-image url"

Code answers related to "Javascript"

Browse Popular Code Answers by Language