title: Javascript remove elements by class name
body: <p>How we can remove the all div by same name of class.</p>
  
  <pre><code> &lt;input class="form-control" type="text" name="option[]"&gt;&lt;input class="form-control" type="text" name="option[]"&gt;&lt;input class="form-control" type="text" name="option[]"&gt;
  </code></pre>