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

推荐订阅源

美团技术团队
B
Blog RSS Feed
博客园_首页
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Google DeepMind News
Google DeepMind News
D
Docker
Blog — PlanetScale
Blog — PlanetScale
M
MIT News - Artificial intelligence
C
Check Point Blog
The Cloudflare Blog
T
Tailwind CSS Blog
大猫的无限游戏
大猫的无限游戏
量子位
The GitHub Blog
The GitHub Blog
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
T
The Blog of Author Tim Ferriss
博客园 - 【当耐特】
Vercel News
Vercel News
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
V
V2EX
博客园 - 司徒正美

博客园 - 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;
        }