title: jQuery filter by an attribute value
body: <pre><code>&lt;div class="selectedColumns" &gt;
  &lt;a href="#" attributeid="19" &gt;Driver License State&lt;/a&gt;
  &lt;a href="#" attributeid="21" &gt;Email&lt;/a&gt;
  &lt;a href="#" attributeid="23" &gt;Experience Level&lt;/a&gt;
  &lt;a href="#" attributeid="26" &gt;First Name&lt;/a&gt;
  &lt;a href="#" attributeid="71" &gt;Is Account Enabled&lt;/a&gt;
  &lt;a href="#" attributeid="39" &gt;Last Contacted Date&lt;/a&gt;
  &lt;a href="#" attributeid="40" &gt;Last Name&lt;/a&gt;
  &lt;a href="#" attributeid="41" &gt;Middle Name&lt;/a&gt;
  &lt;a href="#" attributeid="6"&gt;Carrier&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I have a collection of links. Each link has an attributeid property. I would like to filter by attribute value. So in the links above if I have a value of 41 it would return the Middle Name link. </p>
  
  <pre><code>var link = $('.selectedColumns a:[attributeid==' + $(this).val() + ']');
  </code></pre>
  
  <p>This did not work?</p>