How to Delete a Row in Table using jQuery.

 Posted by Vishalneeraj-24503 on 3/1/2015 | Category: Interview Questions Interview questions | Views: 1697 | Points: 40

<script type="text/javascript" src=""></script>

<script type="text/javascript">
$(function() {
$('input[type="button"]').click(function(e) {
var row = $(this).closest('tr');

<td><input type="button" value="Delete Row1"/></td>
<td><input type="button" value="Delete Row2" /></td>
<td><input type="button" value="Delete Row3"/></td>

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response