Alterar a imagem de fundo com jQuery
jQuery(document).ready(function($) {
$('.bg-image').css("background-image", "url('myurl.jpg')");
});
Anthony Smith
jQuery(document).ready(function($) {
$('.bg-image').css("background-image", "url('myurl.jpg')");
});
jQuery('selector').css('background-image'); // gets the image URL
jQuery('selector').css('background-image', 'path/to/image.jpg'); // sets the image URL