click

Fires when the user taps the button.

    <div id="foo" data-role="view">
      Foo
    </div>


    <div id="bar" data-role="view">
      <a data-role="backbutton" data-click="onClick">Back</a>
    </div>

    <script>
    var app = new kendo.mobile.Application();
    function onClick(e) {
      e.preventDefault(); //prevent navigating back
    }
    </script>

Event Data

e.target jQuery

The clicked DOM element

e.button jQuery

The button DOM element

In this article