how to make the checkbox readonly in javascript? code example Example: checkbox readonly <input type="checkbox" onclick="return false;"/>