enable

Enables or disables the widget.

Parameters

enable Boolean

If set to true the widget will be enabled. If set to false the widget will be disabled.

Example - enable the widget

<input id="maskedtextbox" disabled="disabled" />
<script>
$("#maskedtextbox").kendoMaskedTextBox();

var maskedtextbox = $("#maskedtextbox").data("kendoMaskedTextBox");
maskedtextbox.enable(true);
</script>
In this article