disable radio button on condition in js code example Example: disable radio button javascript document.getElementById("1").disabled=true;