click

Fires when the Button is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the Button is focused.

Event Data

e.event Object

The original DOM event.

Example - subscribe to the "click" event during initialization

<button id="button" type="button">Edit</button>
<script>
    $("#button").kendoButton({
        click: function(e) {
            alert(e.event.target.tagName);
        }
    });
</script>

Example - subscribe to the "click" event after initialization

<button id="button" type="button">Edit</button>
<script>
    $("#button").kendoButton();
    var button = $("#button").data("kendoButton");
    button.bind("click", function(e) {
        alert(e.event.target.tagName);
    });
</script>
In this article
Not finding the help you need? Improve this article