change background image dynamically jquery code example
Example: change background image with jquery
jQuery(document).ready(function($) {
$('.bg-image').css("background-image", "url('myurl.jpg')");
});
jQuery(document).ready(function($) {
$('.bg-image').css("background-image", "url('myurl.jpg')");
});