如何动态设定表单的Action?

我的页面表单上有一个下拉框、两个编辑框、和四个提交按钮,我需要根据下拉框的选择项和提交按钮的不同分别提交到不同的ISAPI程序中去,请问该如何做?(最好能有示例代码)十分感谢!
---------------------------------------------------------------

1<script>   
2formname.action="asd.asp";   
3formname.submit();   
4</script>

---------------------------------------------------------------

你分别在javascript写四个函数,再在每个函数里指定formname.action,然后递交便可

Published At
Categories with Web编程
Tagged with
comments powered by Disqus