javascript to set radio button disabled code example Example: disable radio button javascript document.getElementById("1").disabled=true;