1$.ajax({
2 type: "POST",
3 url: "submit",
4 data: ({detailsArr : detailsArr }),
5 success: function(html){
6 alert( "Submitted");
7 }
8 });
9
1$.ajax({
2 type: "POST",
3 url: "submit",
4 data:JSON.stringify(detailsArr),
5 success: function(html){
6 alert( "Submitted");
7 }
8 });
9