Defect #17625 » jquery.html
| 1 | 
      <!doctype html>
     | 
  
|---|---|
| 2 | 
      <html lang="en">  | 
  
| 3 | 
      <head>
     | 
  
| 4 | 
      <meta charset="utf-8">  | 
  
| 5 | 
      <title>jQuery UI Datepicker - Show week of the year</title>  | 
  
| 6 | 
      <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css">  | 
  
| 7 | 
      <script src="http://code.jquery.com/jquery-1.10.2.js"></script>  | 
  
| 8 | 
      <script src="http://code.jquery.com/ui/1.11.0/jquery-ui.js"></script>  | 
  
| 9 | 
      	<!--
     | 
  
| 10 | 
      	 <script src="http://www.redmine.org/javascripts/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js" type="text/javascript"></script>
     | 
  
| 11 | 
      	-->
     | 
  
| 12 | 
      <link rel="stylesheet" href="http://code.jquery.com/resources/demos/style.css">  | 
  
| 13 | 
        <script>
     | 
  
| 14 | 
      $(function() {  | 
  
| 15 | 
      $( "#datepicker" ).datepicker({  | 
  
| 16 | 
      dateFormat: 'yy-mm-dd',  | 
  
| 17 | 
      showWeek: true,  | 
  
| 18 | 
            // firstDay: 1,
     | 
  
| 19 | 
      firstDay: 0,  | 
  
| 20 | 
      selectOtherMonths: true, changeMonth: true, changeYear: true,  | 
  
| 21 | 
      showOtherMonths: true,  | 
  
| 22 | 
      showButtonPanel: true  | 
  
| 23 | 
          });
     | 
  
| 24 | 
        });
     | 
  
| 25 | 
        </script>
     | 
  
| 26 | 
      </head>
     | 
  
| 27 | 
      <body>
     | 
  
| 28 | 
       | 
  
| 29 | 
      <p>Date: <input type="text" id="datepicker"></p>  | 
  
| 30 | 
       | 
  
| 31 | 
       | 
  
| 32 | 
      </body>
     | 
  
| 33 | 
      </html>
     | 
  
- « Previous
 - 1
 - 2
 - Next »