function setDefaultValue(str){
var arrayValue = new Array();
var rowString = str.split(NextRowSepConst());
for (var i = 0; i < rowString.length - 1; i++) {
var valueSplit = rowString[i].split(ValueSepConst());
for (var ii = 0; ii < valueSplit.length - 1; ii++) {
var a = valueSplit[ii];
arrayValue[i][ii] = valueSplit[ii];
};
};
globalHasDefaultValue = arrayValue;
}
why i got TypeError: can't convert undefined to object in this line "arrayValue[i][ii] = valueSplit[ii];"
any help will be appreciated, thank you
ZER09 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.