读书人

vbscript 获得当前form,该怎么解决

发布时间: 2012-02-06 15:52:44 作者: rapoo

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>

[解决办法]
关注,帮楼主顶下!

读书人网 >asp.net

热点推荐