[导入]怎么让一张图片具有“提交”按钮的功能?
<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
<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
文章来源:http://www.phpweblog.net/fuyongjie/archive/2008/06/24/5239.html

浙公网安备 33010602011771号