what happens to bind and data when an object is removed from the page?

what happens to bind and data when an object is removed from the page?

If I have a div [ id="divId"]  with a button on it [ id="divBtn" ] , and I add some data to the div and I bind a click event to the button: e.g.

   
  1.     $("#divId").add("dname","value");
  2.     $("#divBtn").bind("myEvent", function(){...});
What happens to the data and button bind event if I remove the div? e.g.

   
  1.      $("#divId").remove();
Are they cleaned up? Or, do I need to unbind and removeData before I remove the div?

Thanks!