Changeset 16313 for schedule/Module
- Timestamp:
- 05/27/13 16:21:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16312 r16313 102 102 103 103 var xmlhttp; 104 104 var source = ['Mrk 421']; 105 var Data = []; 106 var Time = []; 107 var line; 105 108 for( src=0;src<source.length;src++) 106 109 { … … 118 121 if (xmlhttp.readyState==4 && xmlhttp.status==200) 119 122 { 120 var source = ['Mrk 421'];121 var Data = [];122 var Time = [];123 123 line=xmlhttp.responseText.split('\n'); 124 for(srcs = 0; srcs<source.length;srcs++)125 {126 Data[srcs] = new Array();127 Time[srcs] = new Array();128 for (row = 0; row<line.length; row++)129 {130 rows=line[row].split(',');131 Data[srcs][row]=rows[4];132 }133 }134 for(ii=0; ii<source.length;ii++)135 {136 for(i=0;i<Data[ii].length;i++)137 {138 document.getElementById('data').innerHTML=source.length;139 }140 }141 124 } 142 125 } … … 145 128 xmlhttp.send(); 146 129 } 147 130 document.getElementById('data').innerHTML=line; 148 131 }); 149 132
Note:
See TracChangeset
for help on using the changeset viewer.