Onclick event for disabled checkbox?

I want a simple onclick alert on a disabled checkbox:

<input type="checkbox" name="myBox" id="myBox" value="my value" disabled onclick="alert('This checkbox is disabled because..');" >

It seem though that a disabled checkbod does not respond to events. The onclick works perfectly on the TD that the input is in.

Creating an image representation of a checkbox is not an option since I'll need this function for select as well.

Any ideas?

from JavaScript http://ift.tt/1MgEYsu
via IFTTT
Previous
Next Post »
Thanks for your comment