title: Use jQuery to ask if <div> has a background image?
body: <p>Is it possible to use jQuery to check if <code>#page</code> has got a background image - <code>#page</code> could look like this:</p>
  
  <pre><code>&lt;div id="page" style="background-image: url(xxx)"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>If it contains a background image, it should add a class to #page</p>