Changeset 16548 for schedule/Module
- Timestamp:
- 06/01/13 13:56:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16547 r16548 96 96 var index = 0; 97 97 var xmlhttp = new Array(); 98 var testXML; 98 99 var source = ['Mrk 421','Mrk 501']; 99 100 var sourceData = [[]]; … … 166 167 } 167 168 } 169 170 function testData() 171 { 172 var url = "https://www.fact-project.org/smartfact/index.php?source=Mrk%20421&time=2012-12-10" 173 textXML = new XMLHttpRequest(); 174 175 textXML.onreadystatechange=function() { 176 alert ("state: " + textXML.readyState + " status: " + textXML.status); 177 if (textXML.readyState==4 && textXML.status==200) 178 { 179 alert ("request ok"); 180 } 181 }; 182 183 textXML.open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[index])+"&time="+year+"-"+month+"-"+day,true); 184 xtextXML.send(); 185 } 168 186 CAL.addEventListener("onSelect", function(){ 169 187 day =this.selection.print("%d").join("\n");
Note:
See TracChangeset
for help on using the changeset viewer.