I have an element with a lot of child elements. I want to clear the content of this element and replace it with new structure.
The child elements are assigned with various event listeners and not all of those listeners are created through jquery bind method.
If I use jquery's empty method to clear the element will it remove all the event listeners or will it clear only the listeners created through jquery bind method?