0
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

Edited by Ezzaral: posted in wrong forum

2
Contributors
2
Replies
18
Views
4 Years
Discussion Span
Last Post by ZER09
0

did you set this as solved because it is 'solved', or did you set this as solved because you realised this isn't Java and you posted it in the right forum?

0

I am sorry sir actually that is a javascript.

and i already solve the problem.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.