How can I save each data in each table row using ajax jquery I have this table
I want to save this as the same in my sql database or atleast just get each table row and loop it every number of rows let say I'll save all value in row reference ID 1. How is that? I want to save this whole data as the same as its outputted So far I'm getting all value in all datacell.
using this code
$('table tr td').each(function(){
arr.push($(this).text());
});
$.each(arr,function(index,value){
alert(arr[index]);
});