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?

Riddhi ValechaRank #794 · 2.9K reputationPosted Mar 14, 2015, 2:17 AM EDT
Visual Studio .NET Controls..
use RadioButtonList
Khargesh RajputRank #616 · 3.9K reputationPosted Mar 14, 2015, 2:18 AM EDT