current

Get the currently selected Button.

Returns

jQuery the jQuery object representing the currently selected button.

Example - get the index of the currently selected Button

<div data-role="view">
  <ul id="buttongroup" data-role="buttongroup" data-select="onSelect">
    <li>Option 1</li>
    <li>Option 2</li>
    <li>Option 3</li>
  </ul>
</div>

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

function onSelect(e) {
    var index = this.current().index();
    console.log(index);
}
</script>
In this article
Not finding the help you need?