New to Kendo UI for jQueryStart a free 30-day trial

Confirm

methods

Opens a Kendo UI Confirm popup. Similar to the native window.confirm() method.

Parameters:textString

The text to be shown in the Confirm popup.

Returns:Promise

a jQuery promise instance, which can be used for callbacks, or passed to jQuery.when. The jQuery Deferred object resolves to:

<script>
    kendo.confirm("Confirm text");
</script>
<script>
    kendo.confirm("Confirm text")
        .done(function(){
/* The result can be observed in the DevTools(F12) console of the browser. */
            console.log("User accepted");
        })
        .fail(function(){
/* The result can be observed in the DevTools(F12) console of the browser. */
            console.log("User rejected");
        });
</script>
Not finding the help you need?
Contact Support