var rblobjs = document.all.ctl00$MainContent$rbl_Tyle;
var Typeflag = true;
for (var i = 0; i < rblobjs.length; i++) {
if (rblobjs[i].checked) {
document.getElementById("<%=LabType.ClientID%>").innerHTML = "";
Typeflag = false;
flag = false;
}
}
<td>
类型
</td>
<td>
<asp:RadioButtonList ID="rbl_Tyle" runat="server" RepeatDirection="Horizontal"></asp:RadioButtonList>
<asp:Label ID="LabType" runat="server" Text="" ForeColor="Red"></asp:Label>
</td>