Wednesday, May 13, 2009

Disabled input fires no events

Evidently, a dom node "<input disabled="disabled"/>" will not fire any events, even if you do, say, something as direct as this: "<input disabled="disabled" onclick="alert('clicked it.');"/>"

1 comment:

  1. If you are using .net and want to fire event for the disabled button then there is a solution.
    http://praveenbattula.blogspot.com/2010/01/disable-button-in-onclick-and-process.html

    ReplyDelete