All examples of adding new elements to associative arrays are going the "easy" way and just have a one dimensional array - my problem of understanding is having arrays within arrays (or is it objects in arrays?).
I have the following array:
var test = [
            {
                value: "FirstVal",
                label: "My Label 1"
            },
            {
                value: "SecondVal",
                label: "My Label 2"
            }
           ];
Two questions: How to generate this array of associative arrays (yes... object) from scratch? How to add a new element to an existing array?
Thanks for helping me understand javascript.
 
     
     
     
     
    