jQuery to change all the links in the page
- by Bunny Rabbit
$(function(){
$('a').each(function(){
var x=this.href;
this.href="www.somesitename.com/filter"+this.href;
});
});
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.