title: Change a portion of a url
body: <p>a have a url that is as follows</p>
  
  <pre><code>&lt;a href="www.mysite.com/foo/content"&gt;Link&lt;/a&gt;
  </code></pre>
  
  <p>How do I remove the "/foo" using jquery so it'll end up like this.</p>
  
  <pre><code>&lt;a href="www.mysite.com/content"&gt;Link&lt;/a&gt;
  </code></pre>