The first one is correct, are you sure your selector is right? Check the styles tab in Firebug and you'll see that the background was indeed applied.
- ricardo On Dec 10, 2:54 pm, Kris <[EMAIL PROTECTED]> wrote: > I have tried both the following but neither seem to work. > > [code] > $('#content-top').css('backgroundImage', "url(" + src + ")"); > $('#content-top').css("background-image", "url(" + src + ")"); > [/code] > > Any ideas would be welcome, thanks.