How to make input text type="button" unselected in ie & firefox without js
Asked
Active
Viewed 739 times
0
-
1Could you explain your question a little more please as it's quite vague. – Matt Asbury Jan 14 '11 at 11:09
-
1In a text field or in the web page? – Aaron Digulla Jan 14 '11 at 11:10
-
Ah. I love the details on that one. – Linus Kleen Jan 14 '11 at 11:10
-
If we want your text we will get it. You cannot stop us. Rest assured, however, that no matter what you think of the text on your webpage nobody really don't think its worthwhile to take it. – Jan 14 '11 at 14:51
1 Answers
0
Unselected? Do you mean disabled?
<input type="button" value="Hello" disabled="true">
http://www.w3schools.com/tags/att_input_disabled.asp
Unselected could mean...
"unselect" as in once it's highlighted - to lose focus. (this is definitely JS)
"disabled" as in the button isn't usable - (above example)

Yuji 'Tomita' Tomita
- 115,817
- 29
- 282
- 245
-
I mean..when I push the button and move mouse the text on it selected. I need no js. – Alex D. Jan 14 '11 at 22:15
-
I didn't know you could select text in a ``. I can't reproduce it on IE8 Chrome / FF latest. I don't know the answer. Good luck! – Yuji 'Tomita' Tomita Jan 14 '11 at 22:22