This is the winning answer.  Thanks, -

On Aug 21, 1:08 pm, "Kit La Touche" <[EMAIL PROTECTED]> wrote:
> You need quotes if the URL has a space in it.  Try:
> $('#frontside').css('backgroundImage','url("' + img+'")');
>
> --Kit
>
> On Thu, Aug 21, 2008 at 1:03 PM, [EMAIL PROTECTED] <
>
>
>
> [EMAIL PROTECTED]> wrote:
>
> > Hi, I have an image with path '/documentengine/user/xhuntertest/
> > Uploaded_Documents/Toad Getting Started Guide1_thumb.jpg'.  When I try
> > and set this as the background of my DIV using
>
> >                $('#frontside').css('backgroundImage','url(' + img
> > +')');
>
> > where "img" contains the offending name, nothing appears.  I figure
> > this has something to do with the space in the file name as other
> > images without a space appear just fine.
>
> > Grateful for any advice, - Dave- Hide quoted text -
>
> - Show quoted text -

Reply via email to