Hi All,

Is it possible (without a custom button style) to make an html <button> element appear pressed? Just like as if the mouse was being clicked on it. Like a toggle button in windows can be pushed or not pushed. I want the styling of the button to remain native (ie. on Windows, look like Windows, and on Mac, look like Mac).



1 answer


you can disable it with disable="disabled" and it will look inactive, but without using custom CSS I don't think you can force it into its active appearance.

What are you trying to do?

Answered about 9 years ago by Tony Crockford
  • Thanks - afraid of that. I'm trying to do a radio button group, but keep the system's native styling of the buttons. IE: http://jqueryui.com/demos/button/#radio - I'll probably have to do something like that. Joel Sanderson about 9 years ago