<script language="javascript">
      var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
       //var xmlHttp = new XMLHttpRequest();
       function sendAjax()
       {
           xmlHttp.Open("POST","/ajaxText/Reciver.aspx",true);
           xmlHttp.send(null);
           xmlHttp.onreadystatechange=ServerProcess;
       }
       
       function ServerProcess()
       {      
            if(xmlHttp.readystate==4)
            {
            try
            {
                document.getElementById("ajaxDiv").innerHTML = xmlHttp.responseText;
                }
                catch(e)
                {
                    window.alert(e);
                }
            }
       }
       
       window.setTimeout("sendAjax()",5000);
      
       
      
        </script>在javascript中总是提示OBJECT ERROR的异常!!说是未知的运行时错误