destroy
Prepares the PromptBox for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks.
Example
<div id="promptbox"></div>
<script>
var promptbox = $("#promptbox").kendoPromptBox({
placeholder: "This will be destroyed..."
}).data("kendoPromptBox");
promptbox.destroy();
$("#promptbox").remove();
</script>