😃 Finally..i made by my self a function that works for what i want...for those interesting, heres what i did:
function send_list(list) {
var arreglo = new Array();
largo=list.length;
for (var i=0;i<largo;i++) {
arreglo=list.options.text;
}
window.document.forms[0].action='recive.php';
window.document.forms[0].harr.value=arreglo;
window.document.forms[0].htam.value=largo;
window.document.forms[0].submit();
}
i have to do this cause i cant define the list as an array (like this list[])
the function gets the list, and put it in a new array variable (arreglo), then send this variable as a hidden...and thats all..🆒
the page reciving, gets the variable as :
"item1, item2,item3,item4,item5,..." and so on...
all i have to do is make a new array with each one
I hope my work to someofu