title: jQuery to change all the links in the page
body: <pre><code> $(function(){
              $('a').each(function(){
                          var x=this.href;
                          this.href="www.somesitename.com/filter"+this.href;
                    });
           });
  </code></pre>
  
  <p>i wrote the above jQuery script to append some site name to all the links in the page but it's not working as expected.</p>