title: How can I remove everything inside of a <div>
body: <p>I have the following:</p>
  
  <pre><code>&lt;div id="test"&gt;
  
  ...
  ...
  
  &lt;/div&gt;
  </code></pre>
  
  <p>I would like to remove all of the elements within the div so I tried:</p>
  
  <pre><code>$('#test &gt; div').remove();
  </code></pre>
  
  <p>But this doesn't seem to work. Am I doing the right thing here?</p>