HTML 输入(类型=图像)在 Firefox 4 上不起作用 [英] HTML Input (type=image) not working on Firefox 4

查看:26
本文介绍了HTML 输入(类型=图像)在 Firefox 4 上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<input  type="image"value="Delete" title="Delete" name="cmd_delete" src="bin/images/common/delete.png"/>

上面的 HTML 代码用于我的应用程序中的删除按钮.问题是此按钮在 Firefox 4 中不起作用,但在其他浏览器中起作用.请问我该如何解决这个问题.

The above HTML code is for a Delete button in my application. The problem is that this button does not work in Firefox 4 but works in other browsers. Please how can I fix this.

推荐答案

您可以使用 <button name="cmd_delete" value=""><img src=".."/><;/button> 而不是输入.

You could use <button name="cmd_delete" value=""><img src=".."/></button> instead of input.

这篇关于HTML 输入(类型=图像)在 Firefox 4 上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆