title: check if div contains an element in jQuery
body: <p>I'm bulding some drag and drop widgets in jQuery, once they've been dropped I need to check if my drag and droppable widget are inside another div.</p>
  
  <pre><code>&lt;div id="droptarget"&gt;
      &lt;div class="widget"&gt;I'm a widget!&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I've had a look at <code>$('#droptarget').each</code> but can't seem to figure it out. Any ideas?</p>