title: Post Checkbox Value For Multiple Delete From Database
body: <p>Screenshot: <img src="https://i.stack.imgur.com/siWGC.png" alt="enter image description here"></p>
  
  <p>I want to delete rows from database with jQuery as on the screenshot. I watch more than 150 tutorials about jQuery. But I'm rookie. I know the usage of jquery post. But I couldn't handle it exactly.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
                          $('#cart_delete_button').click(function(){
                              var deleteditems = $('input:checkbox[name="delete_cart[]"]:checked')
                                      .map(function() { return $(this).val() })
                                      .get()
                                      .join(",");
                             //alert(deleteditems);
                             $.post('post.php',{deleteditems: deleteditems},function(data){
                                 $('.loading').text(data);
                             });
                          });
                      &lt;/script&gt;
  </code></pre>
  
  <p>I wrote this code for deleting but I want to remove tr instantly. How can I do that?</p>