选中并取消选中在ASP 2.0中使用javascript的转发器控件中的复选框 [英] check and uncheck the checkbox in repeater control using javascript in asp 2.0

查看:63
本文介绍了选中并取消选中在ASP 2.0中使用javascript的转发器控件中的复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在ASP 2.0中使用JavaScript检查和取消选中中继器控件中的复选框?在这里,我无法单击选中该复选框,也无法取消选中该复选框.

how to check and uncheck the checkbox in repeater control using javascript in asp 2.0? here i m unable to check the checkbox in single click or uncheck the checkbox in single check.

推荐答案

您可以使用jQuery
完成此操作
此处的代码示例 http://www. webdeveloperjuice.com/2010/03/15/check-all-uncheck-all-and-invert-checkboxes-using-jquery/

对于那些只希望使用仅javascript"解决方案的用户,以下是CP文章 http://www上的链接.codeproject.com/KB/grid/GridCheckBox.aspx [ ^ ]
You can do it using jQuery

Code sample here http://www.webdeveloperjuice.com/2010/03/15/check-all-uncheck-all-and-invert-checkboxes-using-jquery/

For those who want a ''javascript only'' solution, here is the link from a CP article http://www.codeproject.com/KB/grid/GridCheckBox.aspx [^]


检查这些博客
http://wiki.asp.net/404.aspx?aspxerrorpath=/themes/fan/pages/page.aspx/281/check-uncheck-checkboxes-in-gridview-using-javascript/ [使用Javascript在GridView中选中/取消选中CheckBox [
check these blogs
http://wiki.asp.net/404.aspx?aspxerrorpath=/themes/fan/pages/page.aspx/281/check-uncheck-checkboxes-in-gridview-using-javascript/[^]
Check/uncheck CheckBox in a GridView using Javascript[^]
--NDK


这篇关于选中并取消选中在ASP 2.0中使用javascript的转发器控件中的复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆