Hello i 想在java 字面上建立一个阵列,其中2个为 lo。
var i;
var a;
var total = document.getElementsByName( qm[7] )
var creativity = document.getElementsByName( qm[0] );
var design = document.getElementsByName( qm[1] );
var text = document.getElementsByName( qm[3] );
var motivation = document.getElementsByName( qm[5] );
var depth = document.getElementsByName( qm[6] );
var usefulness = document.getElementsByName( qm[8] );
var research = document.getElementsByName( qm[9] );
ratingArray = new Array(total,creativity,design,text,motivation,depth,usefulness,research);
for(i=0; i < ratingArray.length;i++)
{
for(a=0; a < ratingArray[i].length;a++)
{
if(ratingArray[i][a].checked == true)
{
rateArray = new Array(ratingArray[i][a].value);
}
}
}
如果是返回率,它只是给出了第一个要素?