DOM Events and disabled form controls

I wonder which events should be dispatched to disabled form controls?

WebForms2.0 says the following "The default action of a click on a
disabled button is to do nothing." But that is only about default
handling, not about event dispatching; should onclick work in this case:
<input type="button" onclick="alert(event.type);" value="foobar"/>

I haven't found anything related to this problem in DOM Events specs,
or elsewhere. I think onclick can't be dispatched, that would probably
break too many pages, but what about other events and other form
controls than just button?


br,

-Olli

Received on Monday, 20 March 2006 00:38:48 UTC