Title: about combobox when disabled CSS Post by: hxl_apple on September 28, 2014, 07:11:07 PM the combobox plugin when disabled, the arrow on mouse over ,it's backgrond changed.
How add new css class to combobox when disabled ? Title: Re: about combobox when disabled CSS Post by: hxl_apple on September 28, 2014, 07:48:48 PM var plugins = [
'combo','combobox','combotree','combogrid','datebox','datetimebox', 'datetimespinner','numberbox','numberspinner','timespinner','filebox', 'searchbox','textbox' ]; (function(ctrls){ $.each(ctrls,function() { $.extend($.fn[this].defaults,{ height:26, iconWidth:20 }); var disableFn = $.fn[this].methods.disable; if(disableFn){ $.extend($.fn[this].methods,{ disable: function(jq){ disableFn(jq); $(jq).next().addClass('aaaaa'); } }); } }); })(plugins); //============================= |