- Timestamp:
- 05/31/13 07:24:21 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16521 r16522 119 119 } 120 120 121 function getXMLData() 122 { 123 getXML(); 124 xmlhttp[index].onreadystatechange=xmlStateChange(); 125 $('#data').append('XML data were taken'); 126 //document.getElementById('data').innerHTML="XML data were taken! "; 127 128 xmlhttp[index].open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[index])+"&time="+year+"-"+month+"-"+day,true); 129 xmlhttp[index].send(); 130 } 131 121 132 function xmlStateChange() 122 133 { … … 143 154 } 144 155 145 function getXMLData()146 {147 getXML();148 xmlhttp[index].onreadystatechange=xmlStateChange();149 $('#data').append('XML data were taken');150 //document.getElementById('data').innerHTML="XML data were taken! ";151 152 xmlhttp[index].open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[index])+"&time="+year+"-"+month+"-"+day,true);153 xmlhttp[index].send();154 }155 156 156 157 157 function displayData() //--> you can use the content of this function in the event listener
Note:
See TracChangeset
for help on using the changeset viewer.