destroy
Finds all Kendo widgets that are children of the specified element and calls their destroy method.
Example
<input id="autocomplete"> <script> $("#autocomplete").kendoAutoComplete(); /* The result can be observed in the DevTools(F12) console of the browser. */ console.log($("#autocomplete").data("kendoAutoComplete") != null); // outputs "true" kendo.destroy(document.body); /* The result can be observed in the DevTools(F12) console of the browser. */ console.log($("#autocomplete").data("kendoAutoComplete") != null); // outputs "false" </script> Parameters
element String|jQuery|Element
In this article