jQuery easyui官网上有一个方法是 :clear方法,这个方法说是能清除数据,但我测试了,结果它确实清楚了(但他清除的只是输入框显示的数据,没有清除所有的数据),在这里巧妙的用 它加载数据的方法$('#data-choise-type').combobox({data: [],url:"",valueField:'id',textField:'text','120'});
把它的data:属性给一个空数组,这样就能清楚以前的数据