I have dynamic table with unique row id e.g , , , also having checkbox for every row.
using jquery i fetch all the selected ids (comma separated, e.g 1,25,4) of that checkboxes. All i need to remove those selected tr's after jquery success. see my below code:
getting comma separated ids:
var ids = $(".chk:checked").map(function() {
return this.id;
}).get().join(",");
condition:
if(response == 0){
alert('Sorry! There is some problem in server, try again.');
return false;
}else {
alert("Successfully removed from library.");
$('#tr_'+ids).remove();
}
