basic.html 933 B

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Basic SwitchButton - 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 SwitchButton</h2>
  14. <p>Click the switchbutton to change its state.</p>
  15. <div style="margin:20px 0;"></div>
  16. <table>
  17. <tr>
  18. <td style="width:180px">Receive mail:</td>
  19. <td><input class="easyui-switchbutton" checked></td>
  20. </tr>
  21. <tr>
  22. <td>Shared network:</td>
  23. <td><input class="easyui-switchbutton" checked></td>
  24. </tr>
  25. <tr>
  26. <td>Subscribed:</td>
  27. <td><input class="easyui-switchbutton"></td>
  28. </tr>
  29. </table>
  30. </body>
  31. </html>