enable

Enables or disables the widget.

Example

<input id="captcha" />
<script>
    var captcha = $("#captcha").kendoCaptcha({
        handler: "https://demos.telerik.com/kendo-ui/captcha/reset"
    }).data("kendoCaptcha");

    captcha.enable(false);
</script>

Parameters

enable Boolean

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

In this article