请教一简单js问题
document.form1( "filed "+frmNum+i).value
document.form2( "filed "+frmNum+i).value
document.form3( "filed "+frmNum+i).value
.
.
.
要把其中的form1,2,3,....也改成 form+变量(i) 的形式.这句怎么写?
------解决方案--------------------v = eval( "document.form " + i + "( 'filed " + frmNum + i + " ').value ");