title: jquery selector: anchor elements by name
body: <p>I'm new to jQuery so this is probably simple, but...</p>
  
  <p>If I have this HTML:</p>
  
  <pre><code>&lt;a name="foo"&gt;Foo&lt;/a&gt;
  </code></pre>
  
  <p>how can I select the anchor element by its name <code>foo</code>? It doesn't have an <code>id</code> property.</p>