var stored =
[{subject:"farm",name:"John Doe"},
{subject:"steam",name:"Michael Buck"},
{subject:"finance",name:"Ron Ruckle"}, //need this
{subject:"geo",name:"Ben Bond"}];
I need to get an specific array value. I know it is possible to do this:
getitem = stored[2]["name"];
but since I don't know the row, only the first item's value I need something like this:
getitem = stored["subject:finance"]["name"];