<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="jquery.min.js"></script>
<script src="jquery.easyui.min.js"></script>
<link rel="stylesheet" href="themes/default/easyui.css">
<link rel="stylesheet" href="themes/icon.css">
</head>
<body>
<input id="dd" type="text" class="easyui-datebox" required="required">
<script>
$('#dd').datebox({
required:true,
okText: '确定',
closeText: '关闭',
currentText: '今天',
});
var c = $('#dd').datebox('calendar');
c.calendar({
weeks: ['日', '一', '二', '三', '四', '五', '六'],
months: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
});
</script>
</body>
</html>
easyui datebox 日期框汉化,显示中文
最新推荐文章于 2020-08-05 13:43:10 发布