how to get background image in jquery code example
Example 1: change background image with jquery
jQuery(document).ready(function($) {
$('.bg-image').css("background-image", "url('myurl.jpg')");
});
Example 2: jquery set style background image
$('myObject').css('background-image', 'url(' + imageUrl + ')');