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