> You should not be doing this if you are using jQuery. ;)

heh - I KNOW! but I couldnt get the image map tags to be replaced
properly the jquery ways.

Thanks for the livequery hint - I will check that out now.

On Oct 27, 2:08 pm, Girish Venkatachalam
<[EMAIL PROTECTED]> wrote:
> On 13:26:09 Oct 27, Duncan wrote:
>
> > The problem is that when I redraw the image map, the clicks dont work
> > anymore (i.e. the jquery $(".mapOpt").click(function(){ ) and also the new
> > imagemap insertion didnt work with $("#imgmap").html(r.IMAGEMAP); I had to
> > use the old way
>
> > var oldskool = document.getElementById('imgmap');
> > oldskool.innerHTML = r.IMAGEMAP;
>
> You should not be doing this if you are using jQuery. ;)
>
> jQuery helps you write beautiful javascript.
>
>
>
> > Any help on how to get the click function to work would be much appreciated.
>
> Yeah sure. What you need is the livequery plugin. I use it several times
> in my application and it works like a charm.
>
> The problem you are facing is that after AJAX the event bindings stop
> working and livequery solves that in an unobtrusive way.
>
> Thanks.
>
> -Girish

Reply via email to