i have radio type html control....i select on radio button and click on select button it is redirected to next page...if i click on back button again i back on radio button page... then one of the previous radio button is looking selected... but i click again on select .....it give alert box ..plz select record..? my code is here.
how to avoid this message when this radio button is looking selected?
Code:
var isRadioSeleted='';
function Selected()
{
isRadioSeleted = "yes";
}
function ValidateSelection()
{
if(isRadioSeleted=='')
{
alert('Please select a record');
return false;
}
}
Comment