If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

How to create an array of arrays at runtime

Hi.. In javascript, I need to create an array of arrays at runtime.
I have a list of key values and every value must contains a list of field names.. example:
to the first array I need to add new code "cod1" that is a list itself where I have to add "field1" ,"field2" ecc..
so.. at runtime execution I need to add dynamically codes and fields too..
how can I do that, please?