var xmlHttpReq;
function createXmlHttpRequest(){
if(window.XMLHttpRequest){
xmlHttpReq = new XMLHttpRequest();
}else{
xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
}
}
function checkCmd(cmd,val){
createXmlHttpRequest();
xmlHttpReq.onreadystatechange=handle;
var url="HandleVal?ss&passwor&nocathe="+new Date().getTime();
xmlHttpReq.open("get",url,true);
xmlHttpReq.send(null);
}
function handle(){
if(xmlHttpReq.readyState==4){
if(xmlHttpReq.status==200){
var res = xmlHttpReq.responseText;
var result = document.getElementById("result");
result.innerHTML = ""+res+"";
}
}
}
var xmlHttpReq;
function createXmlHttpRequest(){
if(window.XMLHttpRequest){
xmlHttpReq = new XMLHttpRequest();
}else{
xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
}
}
function checkCmd(cmd,val){
createXmlHttpRequest();
xmlHttpReq.onreadystatechange=handle;
var url="HandleVal?ss&passwor&nocathe="+new Date().getTime();
xmlHttpReq.open("get",url,true);
xmlHttpReq.send(null);
}
function handle(){
if(xmlHttpReq.readyState==4){
if(xmlHttpReq.status==200){
var res = xmlHttpReq.responseText;
var result = document.getElementById("result");
result.innerHTML = ""+res+"";
}
}
}