实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
AخA
 
1
<!doctype html>
2
<html>
3
<head>
4
  <meta charset="utf-8">
5
  <title>jQuery UI 旋转器(Spinner) - 时间</title>
6
  <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
7
  <script src="//code.jquery.com/jquery-1.9.1.js"></script>
8
  <script src="/static/js/jqueryui/resources/demos/external/jquery.mousewheel.js"></script>
9
  <script src="/static/js/jqueryui/resources/demos/external/globalize.js"></script>
10
  <script src="/static/js/jqueryui/resources/demos/external/globalize.culture.de-DE.js"></script>
11
  <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
12
  <link rel="stylesheet" href="https://jqueryui.com/resources/demos/style.css">
13
  <script>
14
  $.widget( "ui.timespinner", $.ui.spinner, {
15
    options: {
16
      // 秒
17
      step: 60 * 1000,
18
      // 小时
19
      page: 60
20
    },
21
 
22
    _parse: function( value ) {