如何在ie&中取消选择输入文本类型=“按钮”火狐

时间:2011-01-14 11:03:44

标签: html text input

如何在ie&中取消选择输入文字类型=“按钮” firefox没有js

2 个答案:

答案 0 :(得分:2)

如果您的意思是“无法选择”,您可以使用javascript进行操作。看看这些链接:

Is there a way to make text unselectable on an HTML page?

How to make HTML Text unselectable

答案 1 :(得分:0)

未选?你的意思是残疾人吗?

<input type="button" value="Hello" disabled="true">

alt text

http://www.w3schools.com/tags/att_input_disabled.asp

未经选择可能意味着......

“取消选择”,因为一旦突出显示 - 失去焦点。 (这绝对是JS)
按钮中的“禁用”不可用 - (上例)