比如:
<form id="form1" name="form1" method="post" action="/123.do">
<input type="text" name="name1" id="name1"/>
<input type="submit" value="提交"/>
</form>换成以下方法怎么实现上面的提交功能
<input type="text" name="name1" id="name1"/>
<a href="#"><img src/button.gif" alt="" width="94" height="27" /></a> 我现在提交按钮换成 图片了,怎么实现上面 form 功能?
<form id="form1" name="form1" method="post" action="/123.do">
<input type="text" name="name1" id="name1"/>
<input type="submit" value="提交"/>
</form>换成以下方法怎么实现上面的提交功能
<input type="text" name="name1" id="name1"/>
<a href="#"><img src/button.gif" alt="" width="94" height="27" /></a> 我现在提交按钮换成 图片了,怎么实现上面 form 功能?
<input type="text" name="name1" id="name1"/>
<a href="#" onclick="document.form1.submit();return false;"><img src/button.gif" alt="" width="94" height="27" /></a>
</form>朋友,你的意思是説,這可以实现? 提交