Kendo Mobile Button
by kendomobile
HTML
<link rel="stylesheet" href="http://cdn.kendostatic.com/2013.2.716/styles/kendo.mobile.all.min.css">
<script src="http://cdn.kendostatic.com/2013.2.716/js/kendo.all.min.js"></script>
<!-- Demo created for the book: Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API.
http://www.packtpub.com/building-mobile-applications-with-kendoui-html5/book -->
<div data-role="view">
<button data-role="button" data-click="buttonClick" >
My Kendo Button
</button>
<a data-role="button" data-click="buttonClick" >
My Kendo Anchor Button
</a>
<a id="kendoButton" >
Another Button
</a>
</div>
JavaScript
var app = new kendo.mobile.Application(document.body);
$("#kendoButton").kendoMobileButton({
click: buttonClick
});
function buttonClick(e){
alert("button click");
}