如果我选中一个复选框,则其他两个复选框应该无法检查 [英] if i check one check box other two check boxs should not be able to check
本文介绍了如果我选中一个复选框,则其他两个复选框应该无法检查的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
如果我的Rad Grid视图页脚行包含3个复选框,如果我选中一个复选框,则其他2不应接受检查。如何实现它,
使用C#
问候
Hi all
if suppose my Rad Grid view footer row contains 3 check box's now if i check one check box the other 2 should not accept to check. how to implement it,
using C#
regards
推荐答案
( 复选框)。每个(函数()
{
if (!this.attr( 选中)=== 选中)
{
this .attr( 禁用, 已禁用);
}
});
("checkbox").each(function() { if(!this.attr("checked")==="checked") { this.attr("disable","disabled"); } });
这篇关于如果我选中一个复选框,则其他两个复选框应该无法检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文