focus

Focuses the widget.

Example - focus the widget

Open In Dojo
<input id="otpinput" />
<script>
    $("#otpinput").kendoOTPInput({
        items: 3
    });

    var otpInput = $("#otpinput").getKendoOTPInput();
    otpInput.focus();
</script>
In this article