jsp 跨域定时刷新
2010-10-11 19:24
141 查看
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="texthtml; charset=utf-8" />
</head>
<body>
<form action="www.cxhygyl.com" target="testfresh" name="thisFrom" method="post" id="thisFrom">
发起刷新页面
<iframe width="100%" height="500" src="" name="testfresh" id="testfresh"></iframe>
</form>
</body>
</html>
<script language="javascript" type="text/javascript">
setTimeout("refreshPage()",2000);
function refreshPage()
{
//document.frames('testfresh').location.reload();
document.thisFrom.submit();
setTimeout("refreshPage()",2000);
}
</script>
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="texthtml; charset=utf-8" />
</head>
<body>
<form action="www.cxhygyl.com" target="testfresh" name="thisFrom" method="post" id="thisFrom">
发起刷新页面
<iframe width="100%" height="500" src="" name="testfresh" id="testfresh"></iframe>
</form>
</body>
</html>
<script language="javascript" type="text/javascript">
setTimeout("refreshPage()",2000);
function refreshPage()
{
//document.frames('testfresh').location.reload();
document.thisFrom.submit();
setTimeout("refreshPage()",2000);
}
</script>
相关文章推荐
- jsp页面实现定时刷新的方式二
- jsp,js,html页面定时刷新
- JSP定时任务 定时跳转后台,局部刷新页面
- jsp页面定时刷新
- JSP实例-定时刷新页面
- JSP中页面自动定时刷新
- 简单的定时刷新页面(jsp)
- JSP中页面自动定时刷新
- jsp制作计数器,自动登录,定时刷新等简单小应用
- JSP中页面定时刷新
- JSP基础语法之七:response对象,定时刷新、四种跳转对比、cookie
- JSP简单练习-定时刷新页面
- JSP简单练习-定时刷新页面
- jsp中Ajax实现不刷屏的前提下实现页面定时刷新的功能
- jsp中页面定时自动刷新跳转和按F5刷新跳转
- 练习--JSP定时刷新与统计用户在某页停留时间
- 百度地图获取数据库点的坐标,并定时刷新到页面上 jsp
- jsp 定时刷新
- jsp,js,html页面定时刷新
- jsp 重定向、定时刷新