﻿// JScript 文件
var xmlHttp;
function createXMLHttpRequest()
{
if(window.ActiveXObject)
{
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
else if(window.XMLHttpRequest)
{
xmlHttp = new XMLHttpRequest();
}
}
function requestStart(e)
{
var url = "/HitNum.aspx?id="+e;
createXMLHttpRequest();
xmlHttp.onreadystatechange = callBack;
xmlHttp.open("GET",url);
xmlHttp.send(null);
}
function callBack()
{
if(xmlHttp.readyState == 4)
{
var getallinfo=xmlHttp.responseText;
document.getElementById("showhitnum").innerHTML=getallinfo;
}
}