title: Return matched elements' attribute ar array using jQuery
body: <p>In jQuery, it is easy to select elements as array.</p>
  <blockquote>
  <p>$(&quot;a&quot;);  // return as elements array of anchors</p>
  </blockquote>
  <p>But is it possible to select <strong>matched elements' attributes</strong> as array?</p>
  <p>Currently I need to do something like...</p>
  <blockquote>
  <p>links = [ ];</p>
  <p>$(&quot;a&quot;).each(function() {</p>
  <pre><code>href = $(this).attr(&quot;href&quot;);
  links.push(href); 
  </code></pre>
  <p>});</p>
  </blockquote>
  <p>Are there any better method to fill the variable <strong>links</strong> with href of the all matched anchors?</p>