28,391
社区成员
发帖
与我相关
我的任务
分享
<script language="javascript" type="text/javascript">
var xmlHttp = false;
try {
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e2) {
xmlHttp = false;
}
}
if (!xmlHttp && typeof XMLHttpRequest != 'undefined') {
xmlHttp = new XMLHttpRequest();
}
function showhelplistcontent(str1,str2){
if ((str1 == null) || (str1 == "")) return;
var url = "../help/default_help.asp?id="+str1; //获得值得的页面
xmlHttp.open("GET", url, true);
xmlHttp.onreadystatechange = updatePage1;
xmlHttp.send(null);
}
function updatePage1() {
if (xmlHttp.readyState < 4) {
content.innerHTML="loading...";
}
if (xmlHttp.readyState == 4) {
var response = xmlHttp.responseText;
content.innerHTML=response;
}
}
</script>
<div id="content" >//这里是内容区
</div>