Js deselect the radio button to select the sample code


The name of a set of radio buttons is country


var country = document.getElementsByName('country');
for(var i=0;i<country.length;i++){
if(country[i].checked)
{
country[i].checked=false; //Not selected
}
}