I am not a javascript guru or anything so I was wondering if someone
could tell me what the code below is doing. Is it creating a
multidimensiona l array? Would it be better to create an object?
function addKey(commentK ey, codeHexa, gotoPage, funcToLoad)
{
aKey[nbrKey] = new Array();
aKey[nbrKey]["comment"] = commentKey;
aKey[nbrKey]["codeHexa"] = codeHexa;
aKey[nbrKey]["gotoPage"] = gotoPage;
aKey[nbrKey][0] = funcToLoad;
nbrKeys++;
}
Thanks
ABC
Comment