Hello!
There is a task to remove items and create others. Both to those that need to be deleted, and the new elements have associated .click () and .hover () events.
Should I delete these event handlers (the same .unbind ('click') for example) before deleting old elements and will they sit in the browser’s memory and thus interfere or should I just use .remove () and everything else will be removed?
PS - "on a possible duplicate" The answer to my question completely satisfied me, and there was no such thing in the answer of a possible duplicate, so no this is not a duplicate, but only similar and nothing more. I clearly know which answer was better for me. Thank.