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

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
D
Docker
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
Vercel News
Vercel News
F
Fortinet All Blogs
B
Blog
Recent Announcements
Recent Announcements
A
About on SuperTechFans
GbyAI
GbyAI
T
The Blog of Author Tim Ferriss
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
C
Check Point Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Visual Studio Blog
月光博客
月光博客

博客园 - kenly33

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

 <script language="javascript" type="text/javascript">
 
        function ExpandGridView(num)
        {
            var prefix = "ctl00_ContentPlaceHolder1_";
            var gvQuestion = document.getElementById(prefix+'gvQuestion'+num);
            var imgQuestion = document.getElementById(prefix+'imgQuestion'+num);
           
            if(gvQuestion.style.display == "none")
            {
                gvQuestion.style.display = "block";
                imgQuestion.src = "../images/lines/CollapseMinus.gif";
                imgQuestion.alt='Click to hidden questionnaire.';
            }
            else
            {
                gvQuestion.style.display = "none";
                imgQuestion.src = "../images/lines/CollapsePlus.gif";
                imgQuestion.alt='Click to display questionnaire.';
            }
        }
           
    </script>

posted on 2007-04-07 09:25  kenly33  阅读(295)  评论()    收藏  举报