zoukankan      html  css  js  c++  java
  • [转载]js 获取ASP RadioButtonList 选中的值

    var planList=document.all ('rblPlanType');
        for(var i=1;i<planList.length;i++)
        {
         if(planList[i].checked)
         {
          var planType=planList[i].value;
         }
        }   

      <asp:RadioButtonList ID="rblPlanType" runat="server" RepeatDirection="Horizontal" >
                        <asp:ListItem  Value ="周"   Selected ="true" >周</asp:ListItem>
                        <asp:ListItem Value ="月"  >月</asp:ListItem>
                        <asp:ListItem Value ="季">季</asp:ListItem>
                       
                        <asp:ListItem Value ="年">年</asp:ListItem>
                        </asp:RadioButtonList></td>

  • 相关阅读:
    CF1439E
    CF1446
    CSP2020 游记
    CF1442
    CF1444E
    CF1444
    CF850F Rainbow Balls
    A
    uoj266[清华集训2016]Alice和Bob又在玩游戏(SG函数)
    loj536「LibreOJ Round #6」花札(二分图博弈)
  • 原文地址:https://www.cnblogs.com/AaronBear/p/6032966.html
Copyright © 2011-2022 走看看