does .empty() erases correctly even jquery events and plugins?

does .empty() erases correctly even jquery events and plugins?

In my application the user must be able to choose several types of "time frames" depending on the selections previously done on other controls. What I'm doing now is filling a couple of div with different components (input boxes, datepick widgets, jqueryui sliders, multiple selection boxes) and creating the relative events depending on the selections done. Now, should the user change his selection, I need to erase and re-do everything inside the 2 div tags. What I'm asking is: will jquery's .empty() do that simply and cleanly for me? Or will it leave things in the memory, perhaps also creating a mess with the events handlers? (some of the components which will be redrawn will actually be the same as before the empty(), or might have the same id).