| 
		
			Сообщение от Garrys808
			
		
	 | 
	| 
		просто переходит дальше
	 | 
	
а что должно быть дальше??? клещами тянуть приходится
 
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
  <title></title>
</head>
<body>
<input name="free_place" type="radio" value="1">Да<input name="free_place" type="radio" value="2" checked="checked">Нет
<input name="selectauto" type="radio" value="1"><input name="selectauto" type="radio" value="2">
<script  type="text/javascript">
function chk(name){
    var opt=document.getElementsByName(name);
    for (var i=0; i<opt.length; i++)
        if (opt[i].checked) return true;
    return false;
}
alert(chk('free_place'));
alert(chk('selectauto'));
</script>
</body>
</html>