[jQuery] How to set background image when file name contains a space?
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