0
我想在ajax调用内使用.charAt() .charAt在$ .each函数以外的autoComplete中,但内部它,该函数不会来!.charAt()不工作内部ajax调用
function success2(res) {
var somevar;
firstchar=somevar.charAt(0); //here its working
$.each(res, function (i, data) {
firstLetter= data.strContent.charAt(0); // not working here
试图提醒值'data.strContent' –
雅它具有数据后,我使用的调试器 问题是.charAt没有进入intellisense t这里 –
@vignesh,显示“数据” –