array.prototype.forEach.call(nodelist,function(item){node
console.log(item);spa
})prototype
示例input
var partareaArr=[];//選中的區域值
var partareaChecked=$(".partareas input:checked");
console.log(partareaChecked);
if(areaChecked.length>0){
Array.prototype.forEach.call(partareaChecked, function(v) {
partareaArr.push($(v).val());
});
console.log(partareaArr)
}it