title: How do I set background-image
body: <p>I'm trying to create div element using JQuery using the below code, the elements are getting created correctly but the substitution of background-image attribute is completely broken...</p>
  
  <p>The "/" in the imagepath_start is corrupted, so the background image is not set properly.</p>
  
  <pre><code>imagepath_start = "http://webfact.com/online_static/product-images/book/"
  
  $("&lt;div id = product" + i + "left  class = product-cards-left style=background-image:url(  " + imagepath_start + obj.image_caption + " &gt; &lt;/div&gt;").appendTo('#product' + i)
  </code></pre>