87,991
社区成员
发帖
与我相关
我的任务
分享 function check() {
var i = document.getElementById("sum").value;
for(k=1;k<=i;k++){
var info = "yyjb"+k;
alert(document.getElementById("tkh"+k).value);
alert(document.form1.info.options[document.form1.info.selectedIndex].value);
alert(document.getElementById("demo"+k).value);
}
return false;
}
document.form1.info.options[document[info].info.selectedIndex].value