title: Linking to a document by class name instead of id?
body: <p>Is there a possible way to do <code>href=".edit"</code> to make it be a class? </p>
  
  <p>Because right now I have this: </p>
  
  <pre><code>&lt;a href="#edit" &gt;Edit&lt;/a&gt;
  
  &lt;div id="edit" &gt;&lt;/div&gt;
  &lt;div id="edit" &gt;&lt;/div&gt;
  &lt;div id="edit" &gt;&lt;/div&gt;
  &lt;div id="edit" &gt;&lt;/div&gt;
  </code></pre>
  
  <p>But I have lots of <code>&lt;div id="edit" &gt;&lt;/div&gt;</code> because it php echoes from a database. It only links to the first one. How can I change this? </p>