- Timestamp:
- 05/30/13 07:54:46 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16452 r16453 111 111 for(sources=0;sources<source.length;sources++) 112 112 { 113 113 alert(sources); 114 114 if (window.XMLHttpRequest) 115 115 {// code for IE7+, Firefox, Chrome, Opera, Safari 116 116 xmlhttp=new XMLHttpRequest(); 117 117 } 118 alert(sources);118 119 119 else 120 120 {// code for IE6, IE5 … … 139 139 140 140 141 GraphData(Data,sources);141 //GraphData(Data,sources); 142 142 //document.getElementById('data').innerHTML=Data[sources]; 143 143 } … … 147 147 xmlhttp.send(); 148 148 document.getElementById('data').innerHTML=source.length+""+source[sources]; 149 149 150 } 151 152 GraphData(Data,source.length); 150 153 151 154 function GraphData(array, index) 152 155 { 153 for(i=0;i< array[index].length;i++)156 for(i=0;i<index;i++) 154 157 { 155 156 document.getElementById('day').innerHTML=array[index]; 157 158 for(j=0;j<array[i].length;j++) 159 { 160 document.getElementById('day').innerHTML=array[index]; 161 } 162 158 163 } 159 164 }
Note:
See TracChangeset
for help on using the changeset viewer.