jQuery('selector').css('background-image'); // gets the image URL jQuery('selector').css('background-image', 'path/to/image.jpg'); // sets the image URL