If your radiobuttonlist is defined as follows:
<asp:RadioButtonList ID="sampleRBL" runat="server" >
<asp:ListItem Value="list1">test1</asp:ListItem>
<asp:ListItem Value="list11">test11</asp:ListItem>
<asp:ListItem Value="list111" Selected="True">test111</asp:ListItem>
</asp:RadioButtonList>
</div>
<asp:Button ID="test" runat="server" Text="Button" OnClientClick="checkforchecked()" />
</form>
</body>
Then this js would suffice.
<script language="javascript" type="text/javascript">
function getCheckedRadio() {
var radioButtons = document.getElementsByName("sampleRBL");
for (var j = 0; j < radioButtons.length; j ++) {
if (radioButtons[j].checked) {
alert("the listiem " + radioButtons[j].id + " is checked");
return;
}
}
}
</script>