-------------1.htm<style type="text/css">
<!--
.disList {
font-size: 14px;
line-height: 20px;
font-family: Arial, Helvetica, sans-serif;
}
.a:link {
font-size: 14px;
color: #D26F00;
text-decoration: none;
}
.a:visited {
font-size: 14px;
color: #F07E00;
text-decoration: underline;
}
.a:hover {
font-size: 14px;
color: #CC6B00;
text-decoration: underline;
}
-->
</style>
<!--
.disList {
font-size: 14px;
line-height: 20px;
font-family: Arial, Helvetica, sans-serif;
}
.a:link {
font-size: 14px;
color: #D26F00;
text-decoration: none;
}
.a:visited {
font-size: 14px;
color: #F07E00;
text-decoration: underline;
}
.a:hover {
font-size: 14px;
color: #CC6B00;
text-decoration: underline;
}
-->
</style>
解决方案 »
- 请教如何用JS获得鼠标选中的HTML标签的XPATH路径?
- 问一个window.onload的问题,自己实在想不明白,坐等答复。
- 问一个关于javascript中pageX和pageY的小问题,我纠结了一整天了,都快哭了。
- 求教 extjs jsonReader问题
- Scripting.FileSystemObject相对路径怎么写
- 请问如何区分浏览器的unload和reflesh事件?
- 各位老大,泣血求救,帮我看看这离奇的ie错误报告??????
- 请教一个提交刷新页面做法
- 请问怎样得到网页中Div的个数
- 如何让父窗口,访问它打开的子窗口的表单值
- javascript取值问题
- <input type=file…………………………………………
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
body {
background-color: #000000;
}
-->
</style></head><body>
<script>
top.document.all.tt.rows="*,100"
</script>
</body>
</html>
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head><body>
</body>
</html>
这样试试
还是不行
出现这个问题和是因为session
我的登录页面(php+mysql)
在最开始的时候加了一个session_start();
造成了这个问题!简单代码:
session_start();
$act = $_REQUEST['act'];
if ($act == in){//数据库连接函数及登录验证模块}else{//{form代码}}-------------
将seesion值写入if循环中就好了!
跟网页的Meta头也有关系
你搜"Header cache-control private"就知道了
即使去掉所有的meta标签,只要session_start()加在if控制之内,就不会出现问题.
当然 绝对和http头有关
我分析的原因:当session_start()在文件最前面时,从一开始就和服务器建立了联系(session已经发出)
所以以后即使在文本框中输入,也不能加入本地缓存,所以history.go(-1),history.back()等等都是在session发出前的那个文本框为空的界面.
不知道这样理解是否正确?