I am trying to move data from a table to another table but not working. How to append data? https://jsfiddle.net/ue1j6405/
$(".copy-data").click(function(){
$("table tbody tr").each(function(){
var cnts=$(this).find('td:eq(0)').val();
var name=$(this).find('td:eq(0)').val();
var email=$(this).find('td:eq(0)').val();
$("#tablesTwo").append('<tr><td>"+ cnts +"</td><td>" + name + "</td><td>" + email + "</td></tr>')
});
});