error
Fired when a request triggered by the component fails - can be distinguished via the type
argument in the event data.
Event Data
e.type String
The type triggered the request: "reset|validation|audio|image".
e.jqXHR Object
The jQuery XHR object.
e.textStatus String
The status of the request error.
e.errorThrown String
The error message.
Example
<input id="captcha" />
<script>
var captcha = $("#captcha").kendoCaptcha({
handler: "https://demos.telerik.com/kendo-ui/captcha/reset",
validationHandler: "https://demos.telerik.com/kendo-ui/captcha/validate",
error: function (ev) {
console.log(ev.type);
}
}).data("kendoCaptcha");
</script>