title: How to remove child element from div
body: <p>I am getting error some this like this. </p>
  
  <blockquote>
    <p>Uncaught TypeError: Failed to execute 'removeChild' on 'Node':
    parameter 1 is not of type 'Node'.</p>
  </blockquote>
  
  <p>my div is some what like this. </p>
  
  <pre><code>&lt;div class="" style="" id ="P1"&gt;
      &lt;div class= " " style="" id ="C1"&gt;
          &lt;Input&gt;Val&lt;/Input&gt;
      &lt;/div&gt;
      &lt;div class= " child2" style="" id ="C2"&gt;
          &lt;Input&gt;Val2&lt;/Input&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to remove all the child but getting the error. </p>
  
  <pre><code>var myClass = val.("Data").el.dom // My Parent div
      myClass.removeChild();
  </code></pre>
  
  <p>Here is what I am trying. Can anybody help me how to get this. </p>