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