Thanks.
I have sorted this issue.
first i have created a hidden input (“jsarray”) in the main form of html.
second, I have use the following code:
$(‘#submit’).click(function(){
var x = document.getElementsByClassName(“fpdc”);
var arr=[];
for (var i = 0; i < x.length; i++) {
var element = x[i].id;
var d1 = document.getElementById(element).value;
arr[i]=d1;
}
document.getElementById(“jsarray”).value = arr;
});
Thirdly, I have used post method for hidden input.
Thanks again.