I think this will almost do what I want it to with some changes. What I need to do is copy this row and paste it into another text area. I tried .copy(); but that didnt work. Could someone point out what I need to do to make it function? Thanks
// Find and remove selected table rows
$(".delete-row").click(function(){
$("table tbody").find('input[name="record"]').each(function(){
if($(this).is(":checked")){
$(this).parents("tr").remove();
}
});
});
});
did you have tried .clone()?
$(".delete-row").click(function(){
$("table tbody").find('input[name="record"]').each(function(){
if($(this).is(":checked")){
$(this).parents("tr").clone().prependTo('someElement');
}
});
});