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
Next
« Prev Post
« Prev Post
Previous
Next Post »
Next Post »
Subscribe to:
Post Comments (Atom)
Out Of Topic Show Konversi KodeHide Konversi Kode Show EmoticonHide Emoticon