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

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?

I am sorry sir actually that is a javascript.

and i already solve the problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.