or
app = new kendo.mobile.Application($(document.body), { initial: "rootView", transition:'slide', loading: '<h1 class="loading-message">Loading...</h1>', platform: null });<div data-role="view" id="showpostlayout" data-layout="defaultlayout" data-reload="true"><div data-role="header"> <div data-role="navbar"><a data-click="closePost" data-role="button" data-align="right">Close</a> </div> </div> <div id="mypost"> </div></div> <script> function closePost() { $("#showpostlayout").kendoMobileModalView("close"); } </script>$grid = $("<div></div>");$grid.filter('div').css("height", '300px')$grid.kendoGrid({});ConstV7.prototype.resizeGrid = function(grid) { var gridElement = grid, dataArea = gridElement.find(".k-grid-content"), gridHeight = gridElement.innerHeight(), otherElements = gridElement.children().not(".k-grid-content"), otherElementsHeight = 0; otherElements.each(function () { otherElementsHeight += $(this).outerHeight(); }); dataArea.height(gridHeight - otherElementsHeight);}SCRIPT438: Object doesn't support property or method 'value' kendo.web.min.js, line 8 character 75690<input name="photos" id="photos" type="file" data-role="upload"/>