zoukankan      html  css  js  c++  java
  • 精确到时分秒的jQuery插件例子

    demo.html:

    <!DOCTYPE html>
    <html>
    <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <title>Timepicker Demo</title>
        <link type="text/css" href="css/jquery-ui-1.8.17.custom.css" rel="stylesheet" />
         <link type="text/css" href="css/jquery-ui-timepicker-addon.css" rel="stylesheet" />
        <script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
     <script type="text/javascript" src="js/jquery-ui-1.8.17.custom.min.js"></script>
     <script type="text/javascript" src="js/jquery-ui-timepicker-addon.js"></script>
        <script type="text/javascript" src="js/jquery-ui-timepicker-zh-CN.js"></script>
        <script type="text/javascript">
        $(function () {
            $(".ui_timepicker").datetimepicker({
                showSecond: true,
                timeFormat: 'hh:mm:ss',
                stepHour: 1,
                stepMinute: 1,
                stepSecond: 1
            })
        })
        </script>
    </head>
    <body>
    <p><input type="text" name="datetime" class="ui_timepicker" value=""></p>
    </body>
    </html>

    文章中牵扯到的js、css文件,网上很多。

    项目下载地址:http://download.csdn.net/detail/machunmei2/5980955

  • 相关阅读:
    leetcode-14
    贪心算法
    MySQL索引
    leetcode-13
    leetcode-12
    leetcode-11
    深度和广度优先搜索
    CentOS出错You don't have permission to access on this server
    linux给文件或目录添加apache权限
    让CentOS在同一个窗口打开文件夹
  • 原文地址:https://www.cnblogs.com/james1207/p/3271054.html
Copyright © 2011-2022 走看看