unbind

Remove a previously attached event handler. More info can be found in the unbind section of the kendo.Observable API reference.

Example

<div id="textbox"></div>
<script>
$("#textbox").kendoTextBox({
    change: function(e) {
        console.log("Original change handler");
    }
});

var widget = $("#textbox").data("kendoTextBox");

// Add additional handler
var customHandler = function(e) {
    console.log("Custom change handler");
};
widget.bind("change", customHandler);

// Remove the custom handler
widget.unbind("change", customHandler);

// Remove all change handlers
widget.unbind("change");
</script>
In this article
unbind
Not finding the help you need?
Contact Support