jquery set css background -image url code example Example: jquery set style background image $('myObject').css('background-image', 'url(' + imageUrl + ')');