New to Kendo UI for jQuery? Start a free 30-day trial

Enable

methods

Enables or disables the widget.

Parameters:enableBoolean

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

<input id="otpinput" />
<script>
    $("#otpinput").kendoOTPInput({
        items: 3,
        enable: false
    });

    var otpInput = $("#otpinput").getKendoOTPInput();
    otpInput.enable(true);
</script>
<input id="otpinput" />
<script>
    $("#otpinput").kendoOTPInput({
        items: 3
    });

    var otpInput = $("#otpinput").getKendoOTPInput();
    otpInput.enable(false);
</script>
Not finding the help you need?
Contact Support