Tuesday, 24 April 2012

Accessing radio by javascript

function a()
{
 var b=document.getElementById("t1").value;
alert(b);
document.getElementById("radio1").checked=false;
}

<input type='radio' id='radio1' />

No comments:

Post a Comment