惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
O
OpenAI News
V
V2EX
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
S
Schneier on Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
小众软件
小众软件
L
LINUX DO - 热门话题
C
Cybersecurity and Infrastructure Security Agency CISA
博客园 - Franky
Security Latest
Security Latest
S
SegmentFault 最新的问题
Project Zero
Project Zero
Spread Privacy
Spread Privacy
K
Kaspersky official blog
J
Java Code Geeks
V
Vulnerabilities – Threatpost
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
月光博客
月光博客
T
The Exploit Database - CXSecurity.com
L
Lohrmann on Cybersecurity
人人都是产品经理
人人都是产品经理
博客园 - 三生石上(FineUI控件)
Scott Helme
Scott Helme
WordPress大学
WordPress大学
量子位
T
Threat Research - Cisco Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
宝玉的分享
宝玉的分享
Hugging Face - Blog
Hugging Face - Blog
AWS News Blog
AWS News Blog
Help Net Security
Help Net Security
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Simon Willison's Weblog
Simon Willison's Weblog
S
Secure Thoughts
博客园 - 【当耐特】
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
V
Visual Studio Blog
Last Week in AI
Last Week in AI
T
Tailwind CSS Blog
腾讯CDC
Cyberwarzone
Cyberwarzone
IT之家
IT之家
GbyAI
GbyAI
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
云风的 BLOG
云风的 BLOG
T
Troy Hunt's Blog
D
Docker

博客园 - lei1217

(转)android 4.0 蓝牙服务开启流程分析 转:MTK分布式编译提高编译速度(IncredBuild) 使用.NET实现断点续传(转载) MTK 图层,详细讲解加案例(转载) 字符串颠倒 socket编程原理 C#请求远程服务器的资源 SQL2000 文件与文件组操作 [转载]SQL Server 2005对海量数据处理 HTTP参考 - 转载 HTTP协议详解 - 转载 ASPAJAXExtSetup 转载 Response.ContentType 的参数属性 标准文件读写操作 C语言文件操作 Web/Js 调色板 进制转换 计算机进制转换汇总 浮动广告
.net的RadioButtonList控件的脚本操作
lei1217 · 2008-12-29 · via 博客园 - lei1217

RadioButtonList脚本操作分两种,一种是:RepeatLayout="Flow",另一种是:RepeatLayout="Table"
第一种:获得RadioButtonList的Item
   var arr = $get("<%=rblTest.ClientID %>").childNodes;
   for(var i=0; i<arr.length; i++)
   {
          if(arr[i].type == "radio" && arr[i].checked == true)
          {
               alert("您选择了第" + i + "个Item!它的值value=" + arr[i].value);
               break;
          }
   }

第二种:获取RadioButtonList的Item
   var arr = $get("<%=rblTest.ClientID %>").childNodes[0].childNodes[0].childNodes;
   for(var i=0; i<arr.length; i++)
   {
         if(arr[i].childNodes[0].type == "radio" && arr[i].childNodes[0].checked == true)
         {
              alert("您选择了第" + i + "个Item!它的值value=" + arr[i].childNodes[0].value);
               break;
         }
   }