title: Jquery push all li's ID's into array
body: <p>I need to push all my ID's into an array, both ways I've tried this only pushes the first ID into the array:</p>
  
  <pre><code>  var some = [];
    $('ul#jdLists li').each(function () {
     some.push([$('ul#jdLists li').attr("id")]);
    });
  </code></pre>
  
  <p>This returns the correct number of items in the array but with the ID of the first li</p>
  
  <p>or</p>
  
  <pre><code>    var some = [];                
      some.push([$('ul#jdLists li').attr("id")]);
  </code></pre>
  
  <p>this returns a single item with the first li ID</p>
  
  <p>thanks</p>