Carelessly cited easyui to report Uncaught TypeError Cannot read property options of undefined

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’” /&gt
Insert picture description here

When the page is initialized, it is initially a combobox. It is best to do not write the class on the page
Insert picture description here
and then when the page is initialized.
$(function(){ $("#cc").combobox({

});
});

form Cannot read property'options' of undefined

Guess you like

Origin blog.csdn.net/qq_26634873/article/details/106272673