点击文字链接提交Form表单

来源:互联网 发布:vb winhttp 编辑:程序博客网 时间:2024/06/10 03:37

点击链接文字提交表单的方法,代码超简单,只需把链接地址改为:javascript:welcomeform.submit();就可以了,如果你能表单判断的话,可以这样:onclick="checkform"提交,然后在checkform里加入表单判断语句就可以了。

<html><head><title>点击链接提交表单 - liyatao</title><body><form name="liyataoForm" method="post" action="/"><input type=text></form><a href="javascript:liyataoForm.submit();" title="liyatao">提交</a></body></html><br />


0 0
原创粉丝点击