title: Setting div background image using JQuery
body: <p>Im using JQuery to set the background image of a div as follows:</p>
  
  <pre><code>$(document).ready(function() {
      $('#pic').css("background","url(images/pic.jpg)");  
  
   });
  </code></pre>
  
  <p>But the image does not get displayed. How to fix this ?</p>
  
  <p>Thank You.</p>