title: Using Javascript to pull the url of a hyperlink with a class attribute
body: <p>There will be only one link of a particular class on the page.
  I'm trying to write a javascript snippet that will find this:</p>
  
  <pre><code>&lt;a href="http://www.stackoverflow.com" class="linkclass"&gt; ... &lt;/a&gt;
  </code></pre>
  
  <p>and return a string consisting of this:</p>
  
  <pre><code>http://www.stackoverflow.com
  </code></pre>
  
  <p>Thanks in advance everyone.</p>