Changeset 16010 for schedule/Module
- Timestamp:
- 05/22/13 14:50:38 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16009 r16010 62 62 var newtime; 63 63 var source=[]; 64 source .push($('#box2View').text());64 source=$('#box2View').text(); 65 65 document.getElementById('data').innerHTML=source; 66 for(var i = 0; i<source.length;i++)66 for(var q = 0; q<source.length;q++) 67 67 { 68 68 var xmlhttp; … … 125 125 var colon = []; 126 126 var Temp = []; 127 var source = [];127 //var source = []; 128 128 for(var row=0;row<lines.length; row++) 129 129 { … … 287 287 } 288 288 } 289 xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source)+"&time="+year+"-"+month+"-"+day,true); 289 290 xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[q])+"&time="+year+"-"+month+"-"+day,true); 290 291 xmlhttp.send(); 291 292 $('#Graph').load('chart.php?day='+day+"&month="+month+"&year="+year);
Note:
See TracChangeset
for help on using the changeset viewer.