zoukankan      html  css  js  c++  java
  • jquery datepicker使用

    datepicker的属性大家可以查看一下:http://api.jqueryui.com/datepicker/(datepicker的API接口),下面是一个简单的例子

    <script type="text/javascript" src="<!--{$basePath}-->/application/public/scripts/jquery-1.7.2.js"></script>
    <link rel="stylesheet" href="<!--{$basePath}-->/application/public/styles/jquery-ui.css" />
    <script src="<!--{$basePath}-->/application/public/scripts/jquery-ui.js"></script>
        <script>
        $(function() {
            $( "#datepicker" ).datepicker({changeMonth:true,changeYear:true,dateFormat:'yy-mm-dd',monthNamesShort:['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'],dayNamesMin:['日','一','二','三','四','五','六'] });
        });
        </script>

  • 相关阅读:
    DRF
    DRF
    DRF
    DRF
    DRF
    DRF
    DRF
    Mongo错误记录:MongoClient opened before fork. Create MongoClient
    Hive默认分隔符和默认NULL值
    hdfs文件格式比较
  • 原文地址:https://www.cnblogs.com/zhangjun516/p/2851002.html
Copyright © 2011-2022 走看看