zoukankan      html  css  js  c++  java
  • 中文datepicker控件

    $(function() {
                $.datepicker.regional["zh-CN"] = { closeText: "关闭", prevText: "<上月", nextText: "下月>", currentText: "今天", monthNames: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], monthNamesShort: ["", "", "", "", "", "", "", "", "", "", "十一", "十二"], dayNames: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], dayNamesShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], dayNamesMin: ["", "", "", "", "", "", ""], weekHeader: "", dateFormat: "yy-mm-dd", firstDay: 1, isRTL: !1, showMonthAfterYear: !0, yearSuffix: "" }
    
                $.datepicker.setDefaults($.datepicker.regional["zh-CN"]);
    
                var datePicker = $("#ctl00_BodyMain_txtDate").datepicker({
                    showOtherMonths: true,
                    selectOtherMonths: true
                });
            });
  • 相关阅读:
    Python 在线基础课程
    单链表实现两个集合的交并补
    矩阵奇异值分解SVD
    动态规划0-1背包问题
    Java数字反转
    简单SqL语句
    HTML和CSS
    while和for循环
    C#读取和写入配置文件
    C# 添加系统计划任务方案
  • 原文地址:https://www.cnblogs.com/sky-net/p/4454498.html
Copyright © 2011-2022 走看看