The current easyui does not support the direct hiding of extbox and combobox, and needs to be extended.
code show as below:
$.extend($.fn.textbox.methods, { show: function(jq){ return jq.each(function(){ $(this).next().show(); }) }, hide: function(jq){ return jq.each(function(){ $(this).next().hide(); }) } });
Examples of use are as follows:
$('#t1').textbox('hide'); // hide the textbox $('#c1').combobox('hide'); // hide the combobox $('#t1').textbox('show'); // show the textbox $('#c1').combobox('show'); // show the combobox