title: How do I convert a javascript object array to a string array of the object attribute I want?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8281824/accessing-properties-of-an-array-of-objects">Accessing properties of an array of objects</a>  </p>
  </blockquote>
  
  <p>
  Given:</p>
  
  <pre><code>[{
      'id':1,
      'name':'john'
  },{
      'id':2,
      'name':'jane'
  }........,{
      'id':2000,
      'name':'zack'
  }]
  </code></pre>
  
  <p>What's the best way to get:</p>
  
  <pre><code>['john', 'jane', ...... 'zack']
  </code></pre>
  
  <p>Must I loop through and push <code>item.name</code> to another array, or is there a simple function to do it?</p>