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

推荐订阅源

V
V2EX
宝玉的分享
宝玉的分享
Jina AI
Jina AI
IT之家
IT之家
博客园 - Franky
MyScale Blog
MyScale Blog
Y
Y Combinator Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
I
InfoQ
雷峰网
雷峰网
WordPress大学
WordPress大学
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
美团技术团队
S
SegmentFault 最新的问题
罗磊的独立博客
博客园 - 聂微东
大猫的无限游戏
大猫的无限游戏
H
Help Net Security
D
Docker
博客园 - 司徒正美
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
阮一峰的网络日志
阮一峰的网络日志
M
MIT News - Artificial intelligence

博客园 - kenly33

ORM及代码生成器和插件C#源码(最新版Kenly.DBFramework4.5.8.5) 对象关系映射架构(DBFramework)及代码生成器和插件(源码) 使對象支持自定義比較 統計分數 讀寫XML文檔 - kenly33 - 博客园 Visual Studio Team System简介 过滤某些字段重复的记录 MultiFileUploador GridViewNavigator Gridview梆定 兩個輸入框只允許一個輸入 Gridview中梆定得RadioButton Javascript 隱藏或顯示某區域 ASP.NET 2.0中合并 GridView 的表头单元格 VS2005 RESOURCE MANAGEMENT 鲸鱼哲学 Javascript彈出對話框 FxCop Rules Atlas使用演练
處理RadioButtonList客戶端事件 - kenly33 - 博客园
kenly33 · 2007-09-26 · via 博客园 - kenly33

<asp:RadioButtonList ID="rblNeedNotification"
                    BorderWidth="0" onclick="NeedNotificationSelectedItemChange();" runat="server"
                    RepeatDirection="Horizontal">
                    <asp:ListItem Value="0" >不要通報</asp:ListItem>
                    <asp:ListItem Value="1" Selected="True">需要通報</asp:ListItem>
   </asp:RadioButtonList>

 function NeedNotificationSelectedItemChange()
        {
            var needNotification=document.getElementById(prefix+"rblNeedNotification_"+"1").checked;
            var show=needNotification?"visible":"hidden";
          
            document.getElementById(prefix+"txtNotificationTime").disabled=!needNotification;
            document.getElementById(prefix+"txtHandledProcess").disabled=!needNotification;
            document.getElementById(prefix+"txtLossStatistic").disabled=!needNotification;
            document.getElementById(prefix+"txtReasonAnalyse").disabled=!needNotification;
            document.getElementById(prefix+"txtImprovementMeasure").disabled=!needNotification;
           
            document.getElementById(prefix+"fontNotificationTime").style.visibility=show;
            document.getElementById(prefix+"fontHandledProcess").style.visibility=show;
            document.getElementById(prefix+"fontLossStatistic").style.visibility=show;
            document.getElementById(prefix+"fontReasonAnalyse").style.visibility=show;
            document.getElementById(prefix+"fontImprovementMeasure").style.visibility=show;
        }