To make a html input type checkbox readonly is not possible from its default properties. So we can just use this small tricks to make it read only.
<input type="checkbox" onClick="return false;" CHECKED />Readonly
<input type="checkbox" CHECKED DISABLED />Disabled
<input type="checkbox" CHECKED DISABLED />Disabled
It looks like:
1 comment:
it can be used in all browsers.
Post a Comment