Thanks for the report, I'll look in to this. --John
On Thu, Jan 8, 2009 at 10:45 PM, Iraê <[email protected]> wrote: > I'm using 1.3b2 (6070) and found the following behavior. > > - using 2 .live() handlers for same link. > - 1st handler always fire and modify the link with .html(string) > - 2nd handler fire once, them stops firing. > > I've made a test case: > http://irae.pro.br/jquerytests/live.html.html > > The weird thing is that after the manipulation, if you stop modifying the > DOM (use toggle link in test case), both handlers fire again. > > I dug into jQuery source but was unable to solve the problem myself to > present a patch. But I found out that if I use .wrapInner() instead of > .html() everything works fine. To me it seems that .closest() used in > liveHandler can't match the element for delegation during domManip for some > reason, but this was as far as I could get. > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
