Delete table row using jQuery

I just found out that i’ve been searching for how to delete table row using jquery for many times. Although i manage to find the answer each time, it seems can’t remember the function. So this post will be one of my notes to remind me about this!

delete table row in jQuery, try the code below:-

// html table
<tr id="row_no_1">
<td>Remove this row</td>
<tr id="row_no_2">
<td>Keep this row</td>

// javascript call


本网站使用的Akismet,以减少垃圾邮件. 了解您的意见如何处理数据.

我们使用cookies来给你最好的在线体验. 通过同意你接受使用cookies按照我们的Cookie政策.