当前位置: 代码迷 >> ASP.NET >> vbscript 获得当前form,该怎么解决
  详细解决方案

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

热度:5358   发布时间:2013-02-26 00:00:00.0
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>

------解决方案--------------------------------------------------------
关注,帮楼主顶下!
  相关解决方案