Possible Duplicate:
Accessing properties of an array of objects
[{
'id':1,
'name':'john'
},{
'id':2,
'name':'jane'
}........,{
'id':2000,
'name':'zack'
}]
what's the best way to get:
['john', 'jane', ...... 'zack']
must i loop through and push item.name to another array? is there a simple function to do it?