Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy