Changeset 17422 for schedule/Module/calendar.php
- Timestamp:
- 01/03/14 09:23:03 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16926 r17422 58 58 var CAL = Calendar.setup({ 59 59 cont: "cont", 60 // weekNumbers: true,61 60 selectionType: Calendar.SEL_MULTIPLE, 62 61 showTime: 24, 63 //fdow : 1,64 62 dateInfo:getDateInfo 65 // titleFormat: "%B %Y"66 63 }) 67 64 </script> 68 65 </td> 69 70 66 <tr> 71 67 <td> 72 68 <script type="text/javascript"> 73 $(document).ready(function(){ 74 Graph(); 75 }); 76 </script> 77 <script type="text/javascript"> 69 $(document).ready(function(){ 70 Graph(); 71 }); 78 72 var day; 79 73 var year; 80 74 var month; 81 75 CAL.addEventListener("onSelect", function(){ 82 day =this.selection.print("%d").join("\n"); 83 month =this.selection.print("%m").join("\n"); 84 year =this.selection.print("%Y").join("\n"); 85 GetData(); 86 GetDate(); 87 $('#Scheduling').load('Module/Scheduling.php?days='+year+'-'+month+'-'+day); 88 //$.get("function/function.php", {days:year+'-'+month+'-'+day}); 89 //$load("function/function.php?days:year+-'+month+'-'+day); 90 //$.get("function/SplitDelete.php", {days:year+'-'+month+'-'+day}); 91 92 93 //GetDate(); 94 95 96 97 }); 98 99 100 76 day =this.selection.print("%d").join("\n"); 77 month =this.selection.print("%m").join("\n"); 78 year =this.selection.print("%Y").join("\n"); 79 GetData(); 80 GetDate(day,month,year); 81 $('#Scheduling').load('Module/Scheduling.php?days='+year+'-'+month+'-'+day); 82 }); 101 83 </script> 102 84 </td> … … 107 89 </tr> 108 90 </table> 109 110 91 </body> 111 92 </html>
Note:
See TracChangeset
for help on using the changeset viewer.