Tomcat校区查询界面.cpt
复选框里面是单个参数的时候,这几个控件不可用。是多个的时候控件可用,该怎么设置
var test = this.options.form.getWidgetByName(控件名);
var thevalue =test.getValue();
我用alert(thevalue );
下面就用这个thevalue转数组,判断数组长度。
if(长度=1){
给这些控件设置不可用。
}else{
控件可用。
}
上传模板,我帮你写