title: Removing row from table
body: <p>Good Afternoon, I would like to remove a row from a table , in which when I click on the delete button the whole row would be deleted , the data that should be deleted are Name , Contact number and Age which are also saved in the database so what I would like to achieve is that when the delete button is clicked the data on the website and database will be cleared .Thank you . </p>
  
  <p>I had tried this method , but it only deletes the row on the website and whenever I reload the page , the data will appear again</p>
  
  <pre><code>$('.btnDelete').on('click', function() {
      $(this).closest('tr').remove();
      return false;
  });
  </code></pre>
  
  <pre class="lang-html prettyprint-override"><code>&lt;td&gt;
      &lt;button href="javascript:void(0);" id="btnDelete" class="btnDelete"&gt;Delete&lt;/button&gt;
  &lt;/td&gt;
  </code></pre>