or
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <head> <title>Kendo Link Double Clicking</title> <script src="jquery-1.7.2.min.js" type="text/javascript"></script> <script src="kendo.mobile.min.js" type="text/javascript"></script> <link href="kendo.mobile.all.min.css" rel="stylesheet" type="text/css" /> </head> <body> <!-- View 1 --> <div id="one" data-role="view"> <div class="km-navbar" data-role="navbar"> <input id="searchInput" type="search" data-align="left" placeholder="Search Box"/> Page 1 </div> <br /> <span>Click the button to be taken to the 2nd page</span> <br /> <br /> <a data-role="button" href="#two">Go To Page 2</a> </div> <!-- View 2 --> <div id="two" data-role="view"> <div class="km-navbar" data-role="navbar"> <a data-role="backbutton" class="km-button km-back" href="#:back" data-align="left">Back</a> Page 2 </div> <br /> <span>Possible Bug: On a touch device, holding the back button for too long will trigger a double click.</span><br /> <span>If there is an textbox in the same place on the new page as the button pressed, it will be set into focus.</span><br /> <span>If there is a soft keyboard, it will also activate.</span><br /><br /> </div> </body> <script type="text/javascript"> var app = new kendo.mobile.Application($(document.body)); </script></html>
var data = new kendo.data.DataSource({ transport: { read: function(options) { $.ajax( { url: "http://localhost/Projects/rpc", contentType: "application/json", dataType: "json", data: JSON.stringify({"method": "breq.getBreqs"}), type: 'POST', success: function (result) { //alert("success"); options.success(result) }, error: function (jqXHR, textStatus, errorThrown) { alert("Error: " + textStatus); options.error(jqXHR, textStatus, errorThrown) }, }); } }, serverPaging: true, pageSize: 10, schema: { data: "result" }, });