With jQuery, How Do I Intercept Hyperlink Click Events Temporarily?
var seed = "&seed=laptops";
$("a").live('click',function(){
$(this).attr('href', $(this).attr('href')+seed);
});
You can bind a click event to all the anchor tags, like
$("a").click(function(){
// write your code
});
If you want to do the default action then put a return true;
at the end of this function.