I would like to create a multidimensional array. Something like this:
array(
1234=>array(
"customInfo1"=>1
"customInfo2"=>2
),
5678=>array(
"customInfo1"=>3
"customInfo2"=>4
)
)
I try to do this
var myarray = [];
function headerBuffer(transId,column,value){
myarray [transId][column] = value;
}
I have to create and update this array. If the input field is updated this function run again and the new record have to insert or update the array.