title: Get pathname from href in Javascript
body: <p>whats the simplest way to return the "pathname" from an anchor tags href attribute?</p>
  
  <p>example... say I have:</p>
  
  <pre><code>&lt;a href="http://www.example.com/this/is/my/path.html"&gt;Blah&lt;/a&gt;
  </code></pre>
  
  <p>I need to return only this "/this/is/my/path.html" part.</p>
  
  <p>Ideas? I'm using jQuery if it helps..</p>
  
  <p>Thanks!</p>