$('a').each(function(){
var href = $(this).attr('href');
var separator = (indexOf('?')>-1) ? '&' : '?';
$(this).attr('href', href+separator+'mytracker=yes');
});



On Thu, Apr 24, 2008 at 1:10 PM, denhamd2 <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> Is it possible to add the string ?mytracker=yes onto the end of all
> links on my page using Qjuery?
>



-- 
Alexandre Plennevaux
LAb[au]

http://www.lab-au.com

Reply via email to