title: Remove all child from node with the same class, pure js
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/10842471/remove-all-elements-with-a-certain-class-with-javascript">Remove all elements with a certain class with JavaScript</a>  </p>
  </blockquote>
  
  
  
  <p>As title, google search gives me all jquery results. Is there a method that does this? ex.</p>
  
  <pre><code>&lt;div id="container"&gt;
     &lt;div class="dontdelete"&gt;...&lt;/div&gt;
     &lt;div class="deleteme&gt;...&lt;/div&gt;
     &lt;div class="dontdelete"&gt;...&lt;/div&gt;
     &lt;div class="deleteme&gt;...&lt;/div&gt;
     &lt;div class="dontdelete"&gt;...&lt;/div&gt;
     &lt;div class="deleteme&gt;...&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Is there a method in pure javascript to delete all child with "deleteme" class? Thanks in advance.</p>