Js arrays have a toString method, which changes the elements in the array into commas, so that you can completely use the array as a string, and use arr.split (",") to convert the string back to the array on the receiving page.
& lt script & gt
var arr =;
var strArr = arr . tostring();
document . write(strArr);
var getArr = strArr.split(",");
for(var I = 0; I & ltgetArr.lengthi++){
document . write(getArr[I]+" | ");
}
& lt/script & gt;