时间:2021-07-01 10:21:17 帮助过:4人阅读
f.getTheFirstFocus=function(){
if (document.forms.length > 0){
for (var i=0; i < document.forms[0].elements.length; i++) //遍历个元素
{ var oField = document.forms[0].elements[i];
if (oField.type != “hidden”) {oField.focus();}
return
}
}
}
};