Thanks saves me some code, and perhaps a few cycles.

On Jan 28, 10:46 am, jay <jay.ab...@gmail.com> wrote:
> html('') calls empty() so starting with 1.2.2 it will also remove all
> event handlers and internally cached data.
>
> On Jan 28, 11:48 am, René <renefourn...@gmail.com> wrote:
>
> > I have a dynamically generated a long list of items with events bound
> > to them. I was wondering, when I clear the list, or replace it, is it
> > necessary to unbind all their events before clearing its parent
> > container?
>
> > I know I can experiment to answer this question, but I wanted to know
> > if perhaps html('') on the parent container runs unbind() anyways?
>
> > ...Rene

Reply via email to