Everything pertaining to the presentation layer, but focusing on javascript and css
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.');"/>"
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
If you are using .net and want to fire event for the disabled button then there is a solution.
ReplyDeletehttp://praveenbattula.blogspot.com/2010/01/disable-button-in-onclick-and-process.html