Clear all Radio button list values

Self-Innovator
Posted by Self-Innovator under JavaScript category on | Points: 40 | Views : 1411
  
function Clear()
{
var Gender=document.getElementById("rblGender");
for(var i=0;i<rblGender.cells.length;i++)
{
if(Gender.cells[i].firstChild.checked)
{
Gender.cells[i].firstChild.checked=false;
}
}


Call this fun on ClientClick event of button----

Comments or Responses

Login to post response