Hi friend,
var row = $(this).parents('td').parents('tr');
row.remove();
your code removed row, which you don't want. But only your html tags and data, which is available on your browser. But not in website's server related database.
For removing record, you need server side coding and query.
cheers...