readonly

Toggles the readonly state of the widget.

Example

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

    captcha.readonly();
</script>

Parameters

readonly Boolean

If set to true the widget will be readonly. If set to false the widget will be disable the readonly state.

In this article
Not finding the help you need? Improve this article