Input and TEXTAREA:
$ (' #controlid '). Prop (' disabled ', true); $ (' Input:not (: Button,:hidden) '). Prop (' disabled ', true);// Disables all input controls except the button and the hidden Control $ (' textarea '). Prop (' disabled ', true);
Radio and checkbox:
$ (' input:radio[name= ' Radioname "]). Prop (' disabled ', true); $ (' Input:checkbox[name= ' checkboxname"] '). Prop (' Disabled ', true);
ComboBox, Combotree, Datebox, and Datetimebox:
$ (' #comboboxid '). ComboBox ({disabled:true}); $ (' #combotreeid '). Combotree ({disabled:true}); $ (' #dateboxid '). Datebox ({disabled:true}); $ (' #datetimeboxid '). Datetimebox ({disabled:true});
PS: To note that the Easyui Datebox and Datetimebox to first disable the re-assignment, if the first assignment and then disable will cause the value of the control is empty.
Combogrid:
$ (' #combogridid '). Combogrid (' disable ');//easyui Combogrid control settings disabled to use this method, if you use the Set ComboBox method, the Onloadsuccess event is always called repeatedly $ (' #FPayApplySupAccountID '). Combogrid (' Enable ');//Enable
And you can see here.
Easyui How to disable common controls