If I read correctly, you do not want the div tag to be deleted, you just want to delete all the data and handlers in this case, combine .empty () with:
http://api.jquery.com/unbind/
However, please note that: "Event handlers associated with .bind () can be removed using .unbind (). (As with jQuery 1.7, the .on () and .off () methods are preferable to attach and remove event handlers on elements.) In the simplest case, without arguments, .unbind () removes all handlers attached to the elements: "
Use the delete tool appropriate to how you bind the events.
If you want the called element to be deleted, do not use .empty (), use .remove () instead.
http://api.jquery.com/remove/
"Like the .empty () method, the .remove () method accepts elements from the DOM. Use .remove () when you want to remove the element itself, as well as everything inside it. For the elements themselves, all related events and jQuery data related with elements are deleted.To delete elements without deleting data and events, use .detach () instead.
source share