Reputation: 33
I have a project when I want create a dynamic list of items before proceed to save the information, I'm using Jquery and append to create the table, I'm trying to remove the entire row from the Resumee table, I'm removing with jquery $('ID').remove but this logic doesn't work when I delete randon items from the table.
I want to know if there is a way to delete the entire rown withouth having a specific ID
My project here: jsfiddle.net/yGjFR/7/
Blue Button = ADD
Upvotes: 0
Views: 26
Reputation: 4021
function delrow(){
$('table tr').click( function() {
$(this).remove();
});
}
Upvotes: 0