Initial commit
[2ch-be.git] / dev-test / old_dev / js / effect.js
blob1b24c291f83fb073a5a6e511f872ebb3a4f0a692
1 function loadXMLDoc()
3 var xmlhttp;
4 if(window.XMLHttpRequest)
6 xmlhttp=new XMLHttpRequest();
8 else
10 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
12 xmlhttp.onreadystatechange=function()
14   if(xmlhttp.readyState==4 && xmlhttp.status==200)
15   {
16      document.getElementById("date").innerHTML=xmlhttp.responseText;    
17   } 
19 xmlhttp.open("GET", "changedate.php",true);
20 xmlhttp.send();