Here is my code which returns value selected by user.
function myfunction ()
{
var radiobtn = document.form1.rd;
for( var i=0 ; i { if(radiobtn[i].checked) { alert(" you select " + radiobtn[i].value); } } return true; }
I want to generate an alert box if user do not select /forget to select an option from radio buttons using the same coding.can anybody help?
Khargesh RajputPosted Mar 14, 2015, 6:18 AM
Riddhi ValechaPosted Mar 14, 2015, 6:17 AM
Visual Studio .NET Controls..
use RadioButtonList