i trie first steps in javascript, so please sorry for my miss-knowing :-)
I want to creat a data-variable to store datas in a kind like this
MYDATA['FIRST_ELEMENT']['ABCKEY1']=VALUE
['ABCKEY2']=VALUE
['ABCKEY2']=VALUE
MYDATA['SECOND_ELEMENT']['ABCKEY1']=VALUE
['ABCKEY2']=VALUE
['ABCKEY2']=VALUE
...
As i read, array in javascript wont work fine with alphanumeric keys, so maybe i should create a object or a combination as array and objects?
Hope, someboby could help me and explain me whats the right way to do this,
thanks a lot.
This could be achieved with a single object or an array of objects. An advantage to using an array of objects is that you can iterate over it and create a list of items or a table structure etc.