打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
机顶盒ajax数据处理(iPanel)

<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312"

/>
    <title>无标题文档</title>
    <style type="text/css">

.cat-1 td {height:22px;width:22px;color:#000;font-size:16px;

background-image:url(images/pro-01.png); text-align:center; }
.cat-1 td a:link{color:#000;}
.cat-1 td a:visited{color:#fff;}
.cat-1 td a:hover{color:#fff;}
.bgSeries {
 BACKGROUND-IMAGE: url(images/pro-01.png); WIDTH: 22px; LINE-

HEIGHT: 22px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 22px; TEXT-ALIGN:

center
}
</style>
    
 
</head>
<body style="margin: 60px 0px 0px 0px; background-repeat: no-repeat;"

background="images/new-by.png" >
   
 
 <script language="javascript">
 var xmlHttp = false;
function MakeHttpRequest()
{
 return (window.ActiveXObject) ? new window.ActiveXObject

("microsoft.xmlhttp") : new window.XMLHttpRequest();
}
 
xmlHttp = MakeHttpRequest();
function callServer() {
 
  var url = "ypsq/TvDSJDetailes.html";
  xmlHttp.open("GET", url, true);
  xmlHttp.setRequestHeader( "Content-Type", "text/html;charset=gb2312"

);
  xmlHttp.onreadystatechange = updatePage;
  xmlHttp.send(null);
}

 

function updatePage() {
  if (xmlHttp.readyState == 4) {
    var response = xmlHttp.responseText;
    var match = response.match(/<body[^>]*>([\s\S]*?)<\/body>/i);
  //取<body>与</body>之间的字符
   response = (match) ? match[1] : response;
  // alert(response);
    document.getElementByIdx("content").innerHTML = response.replace

("../images","images");
  }
}

</script>
 <input id="Button1" type="button" value="button"  onclick="callServer

();"/>
 <div id="content"></div>
  
</body>


</html>

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
11种常用css样式之background学习
javascript小技巧
【网页特效】一张图片实现的超酷效果网站导航菜单
CSS锚点定位偏移问题的解决
背景制作
浅谈前端性能优化(五)——减少HTTP请求数
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服