firstday.html 1.0 KB

123456789101112131415161718192021222324252627282930
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>First Day of Week - 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>First Day of Week</h2>
  14. <p>Choose the first day of the week.</p>
  15. <div style="margin:20px 0">
  16. <select onchange="$('#cc').calendar({firstDay:this.value})">
  17. <option value="0">Sunday</option>
  18. <option value="1">Monday</option>
  19. <option value="2">Tuesday</option>
  20. <option value="3">Wednesday</option>
  21. <option value="4">Thursday</option>
  22. <option value="5">Friday</option>
  23. <option value="6">Saturday</option>
  24. </select>
  25. </div>
  26. <div id="cc" class="easyui-calendar" style="width:250px;height:250px;"></div>
  27. </body>
  28. </html>