Add a CSS class to any disabled button
This adds the class of “myclass” to any input with a type of “button” that is marked as disabled. This way you can easily style disabled buttons across a multitude of browsers.
$('input[type=button][disabled=disabled]').each(function(){ $(this).addClass('myclass'); });