onclick is blocked when input tag is disabled

Posted by Itay Moav on Stack Overflow See other posts from Stack Overflow or by Itay Moav
Published on 2010-05-12T13:51:32Z Indexed on 2010/05/12 13:54 UTC
Read the original article Hit count: 685

Filed under:
|
|
|

I need to have an onclick/hover event on an input tag which is disabled.
Is there another way but to wrap it in another tag and give that tag the events?

<input type="checkbox" onclick="cant_choose('event')" disabled="disabled" value="2" name="enroll_to[event][]">

© Stack Overflow or respective owner

Related posts about html

Related posts about input