how to pass array jquery ajax in data code example
Example: how to send js array from ajax
$.ajax({
type: "POST",
url: "submit",
data:JSON.stringify(detailsArr),
success: function(html){
alert( "Submitted");
}
});