老师,为什么Cannot read property 'apply' of undefined
.on('reloadOptions',function(){
var method=$(this).attr('data-search');
var args=$(this).attr('data-where').split(',');
var data=AjaxRemoteGetData[method].apply(this,args);
var select=$(this);
select.find('option').remove();
$.each(data,function(i,item){
var el=$('<option value="'+item+'">'+item+'</option>');
select.append(el);
});5
收起
正在回答 回答被采纳积分+1
1回答

恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星