qui
Una NodeList non ha le stesse proprietà/metodi di un array.a sort of DOM-specific array that holds nodes
![]()
PS.
L'inizio dello script assomiglia + all'ostrogoto
che a jsscusa ma non ti basta un semplice
PPS nel codice ci possono essere errori perchè non lo testatoCodice PHP:var tmp= [];
var target= document.getElementById('variante_righe');
var inputList= target.getElementsByTagName('input');
for(var i=0;i<inputList.length;i++){
if(inputList.item(i).type=='checkbox'){
if(inputList.item(i).checked==true){
tmp.push(inputList.item(i));
}
}
}
![]()
![]()


scusa ma non ti basta un semplice
Rispondi quotando