i-checked box lock variable unchanged code example Example: checkbox readonly <input type="checkbox" onclick="return false;"/>