比如你的<form>和<input type=text>都赋了 name 属性值的话可以:
doucment.formName.inputName.value
若你的<input type=text>的 id 赋了值的话,可以:
document.all.inputId.value;
doucment.formName.inputName.value
若你的<input type=text>的 id 赋了值的话,可以:
document.all.inputId.value;
调试欢乐多
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货