4c41c9688fc2352f56b9be67da318177816d0050.svn-base 814 B

12345678910111213141516171819202122
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Display Seconds - jQuery EasyUI Demo</title>
  6. <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
  7. <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
  8. <link rel="stylesheet" type="text/css" href="../demo.css">
  9. <script type="text/javascript" src="../../jquery.min.js"></script>
  10. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  11. </head>
  12. <body>
  13. <h2>Display Seconds</h2>
  14. <p>The user can decide to display seconds part or not.</p>
  15. <div style="margin:20px 0;">
  16. <span>Show Seconds: </span>
  17. <input type="checkbox" checked onchange="$('#dt').datetimebox({showSeconds:$(this).is(':checked')})">
  18. </div>
  19. <input id="dt" class="easyui-datetimebox" style="width:200px">
  20. </body>
  21. </html>