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

Handler

configuration

The URL, AJAX settings or function that fetches the image and id of the captcha. Called initially when no captcha and captchaId options are entered and when the Reset button is pressed. When used with function, call the args.success method with the source of the audio.

handler

String|Function|Object
<input id="captcha" />
<script>
    $("#captcha").kendoCaptcha({
        handler: function (args) {
            args.success({
                captcha: "https://demos.telerik.com/kendo-ui/content/captcha/9deb39f5-ac2f-4ff6-8061-31ff656d3df6.png",
                captchaId: "1234"
            });
        }
    });
</script>
pseudo
    <input id="captcha" />
    <script>
        $("#captcha").kendoCaptcha({
            handler: "https://demos.telerik.com/kendo-ui/captcha/reset" // Response should return captcha and the captchaId
        });
    </script>
pseudo
    <input id="captcha" />
    <script>
        $("#captcha").kendoCaptcha({
            handler: {
                url: "https://demos.telerik.com/kendo-ui/captcha/reset",
                data: {
                    customfield: "data"
                },
                method: "POST"
            } // Response should return captcha and the captchaId
        });
    </script>
Not finding the help you need?
Contact Support