[导入]怎么让一张图片具有“提交”按钮的功能?

<form name=f>
  
<input><br><br>
  
<img style=cursor:hand alt=提交 onclick=document.f.submit()> <img style=cursor:hand alt=重置 onclick=document.f.reset()>
</form>

注意:firefox不支持
cursor:hand,故应改为cursor:pointer



bestmost 2008-06-24 14:32 发表评论

文章来源:http://www.phpweblog.net/fuyongjie/archive/2008/06/24/5239.html
posted @ 2008-06-24 14:32  宇风  阅读(467)  评论(0)    收藏  举报