click

Fires when the user taps the button.

Event Data

e.target jQuery

The clicked DOM element

e.button jQuery

The button DOM element

    <div data-role="view">
      <ul data-role="listview">
        <li>Item 1a</li>
        <li>Item 2a</li>
        <li>Item 3a</li>
      </ul>
    </div>


    <script>
    var app = new kendo.mobile.Application();

    function onClick(e) {
    var item = e.button.closest("li"); //get the item
    item.css("background", "yellow"); //change its background
    }
    </script>
In this article