Hello!

I jsut have question about associative array:

Code:
var dataObject = {date:date, test:temp};
Now I know "date" and "test" are the "IDs" of the values.
Is it possible to make the IDs dynamic?

Like:
Code:
var names = ["test1", "test2"];
var dataObject1 = {date:date, names[0]:temp1};
var dataObject2 = {date:date, names[1]:temp2};