Most ordinary the most commonly used and the general method is to use the submit type). See code:

 duplicate code  code is as follows: 
<Throughout the form name=&; Form” Method=&throughout; Post” Action=&throughout; # ">
<input type=&throughout; submit” name=&throughout; submit” value=http://www.jb51.net//web/” submit" >
</form>

in addition, there is a commonly used method is to use image:

 copy 

code is as follows:
<Throughout the form name=&; Form” Method=&throughout; Post” Action=&throughout; # ">

第三种是使用链接来提交表单,用到了javascript的DOM模型:

复制代码

代码如下:

提交

这种方法实际上是调用了一个javascript函数,使用javacript函数来提交表单,方法就非常多非常灵活了,比如可以把它加入到任意一个标签的onclick事件中:

复制代码

代码如下:

复制代码

代码如下:

通过javascript改变form的action属性值,这样就可以实现多提交按钮而且功能不同了,页面内代码如下:

复制代码

代码如下:



上面一段代码,使用的是普通的按钮,而提交功能的实现方法是在它的onclick事件中调用javascript函数.
有了上面这几种提交表单的方法,我想差不多够应付复杂的表单了.
# 0 - #


This concludes the body part

This paper fixed link:http://www.script-home.com/several-submission-summary-html-form.html | Script Home | +Copy Link

Article reprint please specify:Several submission summary HTML form | Script Home

You may also be interested in these articles!