function createXMLHttpRequest () (
if (window.ActiveXObject) (
xmlHttp = new ActiveXObject ( "Microsoft.XMLHTTP");
)
else if (window.XMLHttpRequest) (
xmlHttp = new XMLHttpRequest ();
)
)
/ / Front Desk function call interface Event
function checkName () (
createXMLHttpRequest ();
xmlHttp.onreadystatechange = handleStateChange;
var strCon = "getInfo.aspx?";
xmlHttp.open ( "GET", strCon, true);
xmlHttp.send (null);
)
/ / And server interaction during the implementation of the function
function handleStateChange () (
if (xmlHttp.readyState == 4) (
if (xmlHttp.status == 200) (
document.getElementById ( "dix"). innerHTML = xmlHttp.responseText;
)
)
)







