选择下拉复选框,然后选择事件,添加一个初始化事件,写一下js语句。
$.extend(FR.CheckBoxEditor.prototype,{
initControlPane:function(){
this.$controlPane = $("").addClass('fr-checkbox-control').css('display',"none");
}
});
下拉框
var self = this;
self.options.name4Empty = "" ;
$('input',this.element).click(function(){
if(self.$view.css('display')=='none'){
self.onTriggerClick();
}
});