javascript checkbox readonly code example Example: checkbox readonly <input type="checkbox" onclick="return false;"/>