Changeset 15584 for schedule/Module/calendar.php
- Timestamp:
- 05/10/13 23:13:34 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r15580 r15584 67 67 if (xmlhttp.readyState==4 && xmlhttp.status==200) 68 68 { 69 var lines =xmlhttp.responseText.split('\n');70 var arr = [];71 var Time = [];72 var h = [];73 for(var row=0;row<lines.length; row++)74 {75 var f = lines[row].split(',');76 Time[row]=f[0];77 arr[row]=f[4];78 for(var t=0; t<Time.length;t++)79 {80 var x=Time[t].split('T');81 h[t]=x[1];82 }83 }84 //source['Mrk 421']=arr;85 document.getElementById('data').innerHTML=arr+'Time'+h;69 var lines =xmlhttp.responseText.split('\n'); 70 var arr = [,]; 71 var Time = []; 72 var h = []; 73 for(var row=0;row<lines.length; row++) 74 { 75 var f = lines[row].split(','); 76 Time[row]=f[0]; 77 arr[row]=f[0][4]; 78 /*for(var t=0; t<Time.length;t++) 79 { 80 var x=Time[t].split('T'); 81 h[t]=x[1]; 82 }*/ 83 } 84 //source['Mrk 421']=arr; 85 document.getElementById('data').innerHTML=arr+'Time'; 86 86 87 87 }
Note:
See TracChangeset
for help on using the changeset viewer.