Return matched elements' attribute ar array using jQuery
<p>In jQuery, it is easy to select elements as array.</p>

<blockquote>
  <p>$("a");  // 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>$("a").each(function() {</p>

<pre><code>href = $(this).attr("href");
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>
