Kendo datepicker in Chinese, kendodatepicker
Kendo grid supports multiple languages, including many languages. Generally, en is used by default, but Chinese characters are required for the domestic market. No ink.
<link href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.common.min.css" rel="stylesheet" /> <link href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.default.min.css" rel="stylesheet" /> <script src="http://cdn.kendostatic.com/2014.2.716/js/jquery.min.js"></script> <script src="http://cdn.kendostatic.com/2014.2.716/js/kendo.all.min.js"></script> <script src="kendo.culture.zh-CN.min.js"></script>
Add html
<input id="datepicker" value="10/10/2011" style="width:150px;" />
Js Code:
$(function () { kendo.culture("zh-CN"); $("#datepicker").kendoDatePicker(); });
This completes the localization of datepicker. As follows:
Datepicker has been downloaded to the latest version, but does not know how to call
<Script language = "javascript" type = "text/javascript" src = "DatePicker/WdatePicker. js"> </script>
Start
<Td width = "265"> <input id = "d11" type = "text" onClick = "WdatePicker ()"/> </td>
The jQuery datepicker library files I downloaded from the website are not easy to use. When I select a node and call the datepicker () function, it does not respond.
First introduce the jquery file, and then introduce this file.