title: How to replace element's attr href with each ? // strip url
body: <p>im trying to change href with each method,</p>
  
  <p><a href="http://jsfiddle.net/nUsWT/5/" rel="noreferrer">here is demo, inspect a, you'll see there is no change</a> </p>
  
  <p>html:</p>
  
  <pre><code>&lt;a href="#/news"&gt;News&lt;/a&gt;
  &lt;a href="#/news/detail"&gt;Detail&lt;/a&gt;
  &lt;a href="#/sport"&gt;Sport&lt;/a&gt;
  &lt;a href="#/sport/football"&gt;Football&lt;/a&gt;​​​​​​​​​​​​
  </code></pre>
  
  <p>jQuery:</p>
  
  <pre><code>$('a').each(function() {
    $(this).attr('href').replace('#/',''); //tried to erase #/ from all hrefs
  });​
  </code></pre>