使用以下属性禁用:
$("input").attr("disabled",true); $(".easyui-combobox").combobox({ disabled: true }); $(".easyui-combotree").combotree({ disabled: true });之后就会出现灰色背景,不贴图了。。。
解决方法: 原理就是复写其原来的样式。
.validatebox-disabled{ background:#fff!important; } .textbox-disabled .textbox-addon.textbox-addon-right{ display:none; } .layer-input-box ul.layer-input-main li div.layer-input-right input{ background-color: #fff; } .textbox-disabled, .textbox-label-disabled { opacity: 1; }这样就好了。