I am trying to create a 2 dimentional array with a uniqId value and another Array.This is the code I am trying but it is not working. Please help me out gurus..



[CODE=javascript]MainArray = new Array(0,0);

tempArray = new Array();[/CODE]

put the values in tempArray

[CODE=javascript]MainArray[index][0] = id_values;
MainArray[index][1] = tempArray;
[/CODE]...