- Timestamp:
- 05/31/13 06:39:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16511 r16512 114 114 115 115 index = xmlhttp.length - 1; 116 document.getElementById('data').innerHTML="XML request is in the array! "; 117 116 118 } 117 119 … … 119 121 { 120 122 getXML(); 121 xmlhttp[index].onreadystatechange=xmlStateChange() 122 123 xmlhttp[index].onreadystatechange=xmlStateChange(); 124 document.getElementById('data').innerHTML="XML data were taken! "; 125 123 126 xmlhttp[index].open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[index])+"&time="+year+"-"+month+"-"+day,true); 124 127 xmlhttp[index].send(); … … 132 135 //sourceData[index]= new Array(); //--> remove this if you use sourceData[[]] 133 136 line=xmlhttp[index].responseText.split('\n'); 137 document.getElementById('data').innerHTML="XML value has changed!"; 138 document.getElementById('data').innerHTML=xmlhttp[index].responseText; 139 134 140 for(row=0;row<line.length;row++) 135 141 { … … 156 162 month =this.selection.print("%m").join("\n"); 157 163 year =this.selection.print("%Y").join("\n"); 158 164 document.getElementById('data').innerHTML="Calendar selected! "; 165 159 166 160 167 //displayData();
Note:
See TracChangeset
for help on using the changeset viewer.