Hi
I am trying to create 2D array in JavaScript to store some Database values, here is my code
function fillArrays(ImageSmall, ImageBig, Title, DealId, Description) {
var array_Data = new Array(ImageSmall, ImageBig, Title, DealId, Description);
array_Obj[array_Obj.length - 1] = array_Data;
var obj = array_Obj[0];
}
Arrays are being created Fine, i am having problem extracting data from the inner Array i.e "array_Data" which have values of "ImageSmall, ImageBig, Title, DealId, Description" in it.
i was trying like this before
alert (array_Obj[0][0]);
var obj= array_Obj[0];
alert (obj[0]);
I'll Appreciate any help.