0

How to make input text type="button" unselected in ie & firefox without js

Alex D.
  • 97
  • 1
  • 8

1 Answers1

0

Unselected? Do you mean disabled?

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

alt text

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