$.ajax({ type: "POST", url: "submit", data: ({detailsArr : detailsArr }), success: function(html){ alert( "Submitted"); } });