阅读背景:

复选框:当有多个已选中复选框时启用/禁用未选中复选框

来源:互联网 

I'm currently working on a kind of a multichoice form in my app (MVC5) and cannot figure out how can i disable unchecked boxes after there was a specific number of checked ones (Lets say that 3 was the max number, and 3 out of 5 were checked.. the other 2 should be disabled, and when one of the checked ones is unchecked, they should become enabled) The web page might have several forms/check lists with different constraints for each, so i'm looking for a dynamic type of work and would like to know if there is a way to do so or am i stuck with a static function for each check list.. Looking for help with the code either way.I'm currently working on a kind of a multichoic




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: