阅读背景:

禁用textarea复选框:使用bootstrap-switch检查

来源:互联网 

I have an MVC app where I have a class of bools. There is a textarea next to each switch to enter comments if the item is indicated as rejected (returns false). I need to have the textarea disabled if the the swith is set to Accepted (returns true). I have searched ad nauseum and can't find a suitable solution. I know that there is an on-change event handler built in to bootstrap-switch but I am struggling to avoid an indivisual line for each bool field rather than using (this).I have an MVC app where I have a class of bools




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

分享到: