basic.html 915 B

123456789101112131415161718192021222324252627
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Basic NumberSpinner - 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>Basic NumberSpinner</h2>
  14. <p>Click spinner button to change value.</p>
  15. <div style="margin:20px 0;"></div>
  16. <div class="easyui-panel" style="width:100%;max-width:400px;padding:30px 60px;">
  17. <input class="easyui-numberspinner" style="width:100%;" data-options="
  18. onChange: function(value){
  19. $('#vv').text(value);
  20. }
  21. ">
  22. <div style="margin:10px 0;">
  23. Value: <span id="vv"></span>
  24. </div>
  25. </div>
  26. </body>
  27. </html>