i want to create nested elements of an Object in a loop
this works manuel :

```
$tmp={ "items": {
            "key1": {"name": "alpha"},
            "key2": {"name": "bravo"},
            "key3": {"name": "charlie"}
             }
 }
         alert($tmp['items']['key2']['name'])

```

But how can i create all vals in a loop???
something like:

```
 for (var x = 0; x < 100; x++) {
   $tmp2={"key"+x: {"name": "name"+x}}
   $tmp.push($tmp2)

  }
        alert($tmp['items']['key0']['name'])

```

???