Changeset 16547
- Timestamp:
- 06/01/13 13:40:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16545 r16547 104 104 function getXML() 105 105 { 106 alert("get XML function"); 107 if (window.XMLHttpRequest) 106 if (window.XMLHttpRequest) 108 107 {// code for IE7+, Firefox, Chrome, Opera, Safari 109 alert("new window request created"); 110 xmlhttp.push(new XMLHttpRequest()); 108 xmlhttp.push(new XMLHttpRequest()); 111 109 } 112 110 else … … 125 123 { 126 124 getXML(); 127 alert("get XML data"); 128 xmlhttp[index].onreadystatechange=xmlStateChange(); 125 xmlhttp[index].onreadystatechange=xmlStateChange(); 129 126 $('#data').append('XML data were taken'); 130 127 //document.getElementById('data').innerHTML="XML data were taken! "; … … 137 134 { 138 135 $('#data').append('XML state is activated!'); 139 alert(index+" "+xmlhttp[index].readyState+" "+xmlhttp[index].status );136 alert(index+" "+xmlhttp[index].readyState+" "+xmlhttp[index].status + " " + xmlhttp[index].statusText); 140 137 if (xmlhttp[0].readyState==4 && xmlhttp[0].status==200) 141 138 { … … 175 172 //document.getElementById('data').innerHTML="Calendar selected! "; 176 173 $('#data').append('XML data were taken'); 177 178 174 179 175 //displayData(); 180 176 for (i=0; i<source.length; i++)
Note:
See TracChangeset
for help on using the changeset viewer.