<Html>
<head>
<title></title>
<script type="text/javascript">
var Div,xmlhttp;
function getXmlHttp()
{
Div= document.getElementById("div1");
Div.innerHTML = "正在装载栏目数据,请稍侯....... ";
Div.style.display = "";
var strParm="*";
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.onreadystatechange = getAjaxValue;
xmlhttp.open("POST","Execute.aspx?type=1",true);
xmlhttp.send(strParm);
}
function getAjaxValue()
{
if(xmlhttp.readystate ==4)
{
if(xmlhttp.status == 200)
Div.innerHTML= xmlhttp.responseText;
else
Div.innerHTML = "加载失败,原因:"+xmlhttp.statusText
}
}
</script>
</head>
<body>
<form ]);
switch(type)
{
//实现功能.
}
Response.Write(返回值);