Carelessly cited easyui reported Uncaught TypeError: Cannot read property'options' of undefined
the reason
&lg input id=“cc” class=“easyui-combotree” data-options=“valueField:‘id’,textField:‘text’” />
When the page is initialized, it is initially a combobox. It is best to do not write the class on the page
and then when the page is initialized.
$(function(){ $("#cc").combobox({
});
});
form Cannot read property'options' of undefined