css class for disabled html controls RRS feed

  • Question

  • Hi,
    I used input type button html control and i want to change text color of button if button is disabled.
    I change the button css class like this in javascript, but it's working in IE6, can anyone give the solution for it. 


    if(btn != null && btn.disabled == true)

    Thank in advance

    • Moved by Harry Zhu Thursday, August 6, 2009 6:43 AM (From:JScript for the .NET Framework)
    Monday, August 3, 2009 6:40 AM