[jQuery] Re: event binding issue

2009-01-03 Thread Michael Geary
Without testing it, off the top of my head I think it may be the .wrap() that is doing you in. That has to remove the element from the DOM and re-insert it, and I think that loses the event binding. Also, I take it that $dsanchors refers to a UL, is that right? Then you're temporarily inserting

[jQuery] Re: event binding issue

2009-01-03 Thread Alexandre Plennevaux
Hi Michael , sorry it's my fault i made a stupid mistake somewhere else ( i dare not tell you what it was, I think i'd better get some sleep :) ). The code as such worked, so i would assume the wrap() does not unbind the events. Thanks again! alexandre On Sat, Jan 3, 2009 at 11:50 PM, Michael