range.html 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Number Range - 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>Number Range</h2>
  14. <p>The value is constrained to a specified range.</p>
  15. <div style="margin:20px 0;"></div>
  16. <div class="easyui-panel" style="width:400px;padding:60px 100px;">
  17. <div style="margin-bottom:20px">
  18. <div>Amount:</div>
  19. <input class="easyui-numberbox" data-options="min:10,max:90,precision:2,required:true">
  20. </div>
  21. <div style="margin-bottom:20px">
  22. <div>Weight:</div>
  23. <input class="easyui-numberbox" data-options="min:10,max:90,required:true">
  24. </div>
  25. <div style="margin-bottom:20px">
  26. <div>Age:</div>
  27. <input class="easyui-numberbox" data-options="min:0,max:100,required:true">
  28. </div>
  29. </div>
  30. </body>
  31. </html>