用文字做提交按钮,重置按钮的代码,代码如下
<form method="POST" id="f1" action="http://bbs.blueidea.com/thread-2842041-1-1.html">
<input value="">form id="f1"<br>
<span style="CURSOR: pointer" onclick="document.getElementById('f1').submit()">提交</span>
<span style="CURSOR: pointer" onclick="document.getElementById('f1').reset()">重置</span>
</form>
<hr>
<form name="f2" method="POST" action="http://bbs.blueidea.com/thread-2842041-1-1.html">
<input value="">form name="f2"<br>
<span style="CURSOR: pointer" onclick="document.f2.submit()">提交</span>
<span style="CURSOR: pointer" onclick="document.f2.reset()">重置</span>
</form>