for (i = 0; i < count; i++) {
var item = list.childNodes[i]._value;
var RecID = item.RecID;
var zerocount = 5 - RecID.length;
var PicZeros = "";
for (k = 0; k < zerocount; k++)
PicZeros += "0";
var url = "/p_" + PicZeros + RecID + "_01.jpg";
}
我收到此错误:
TypeError: Cannot read property 'length' of undefined
我不明白如何解决它?