vbscript 获得当前form
在一个网页中有很多动态生成的form,
sub show(obj)
'obj 为一个form
obj.text.value=1
obj.submit
end sub
<form name= "form1 method= "post " action= " ">
<input type= "text " name= "textfield ">
<input type= "submit " name= "Submit " value= "提交 " onClick= "vbscript:show ">
<!---vbscript:show 这时如何处理???------>
</form>
<form name= "form2 method= "post " action= " ">
<input type= "text " name= "textfield ">
</form>
<form name= "form3 method= "post " action= " ">
<input type= "text " name= "textfield ">
</form>
[解决办法]
关注,帮楼主顶下!