try using bind() instead of live()

On Fri, May 29, 2009 at 11:23 PM, Up-Works <mich...@up-works.com> wrote:

>
> Need to know why this code below records the click in IE but does not
> record the click in FF or Safari.  a.adBanner is an internal link
> within the same domain.  Thank you in advance.
>
> $('a.adBanner').live('click',function(){
>
>        var provider_id = $(this).attr('id');
>
>        var providerid = provider_id.match(/[0-9]+/g);
>
>        $.get('../lib/bannerTracking.php', {
>            pid : providerid
>            }, function() {
>
>
>            });
>
>    });
>

Reply via email to