title: Remove table row after clicking table row delete button
body: <p>Solution can use jQuery or be plain JavaScript.</p>
  
  <p>I want to remove a table row after user has clicked the corresponding button contained in the table row cell so for example:</p>
  
  <pre><code>&lt;script&gt;
  function SomeDeleteRowFunction() {
   //no clue what to put here?
  }
  &lt;/script&gt;
  
  &lt;table&gt;
     &lt;tr&gt;
         &lt;td&gt;&lt;input type="button" value="Delete Row" onclick="SomeDeleteRowFunction()"&gt;&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
         &lt;td&gt;&lt;input type="button" value="Delete Row" onclick="SomeDeleteRowFunction()"&gt;&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
         &lt;td&gt;&lt;input type="button" value="Delete Row" onclick="SomeDeleteRowFunction()"&gt;&lt;/td&gt;
     &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>