H
hupeh
Unregistered / Unconfirmed
GUEST, unregistred user!
页面A上有一表格,在点击表格时将“状态”改为正在查看后转到下一窗口B(同时将这个状态的内容进行改变),但是在“B窗口”点击“后退”返回到窗口A时,这个状态的内容还是原来的内容,怎么回事?
代码如下:
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html;
charset=gb2312">
<title>待处理业务</title>
<link href="css/style.css"
rel="stylesheet"
type="text/css">
<SCRIPT language=JavaScript src="js/common.js"
type=text/JavaScript></SCRIPT>
<link href="css/menu.css"
rel="stylesheet"
type="text/css">
</head>
<script language="JavaScript"
>
function show110Info(the,col,id)
{var E=eval('document.all.uaid'+id);
E.innerHTML="正在查看...";//待处理";
openURL("/sx110/show110.jsp?uaid="+id);
}
</script>
<body >
<table width="100%"
border="0"
cellpadding="1"
cellspacing="0"
bgcolor="#E7EFF7">
<tr>
<td >
<div align="center">待处理业务列表</div></td>
</tr>
<tr>
<td><table width="100%"
border="0"
cellspacing="2"
cellpadding="0">
<tr>
<td bgcolor="#669933">
<div align="center"><a href="test.htm">报警时间</a></div></td>
<td bgcolor="#669933">
<div align="center">报警级别</div></td>
<td bgcolor="#669933"><div align="center">类别</div></td>
<td bgcolor="#669933"><div align="center">报警地点</div></td>
<td bgcolor="#669933"><div align="center">当前状态</div></td>
</tr>
<tr ><td bgcolor="#FFFFFF"
style="cursor:hand"
onclick="show110Info(this,1,2);"
>2006-1-2</td><td style="cursor:hand"
onclick="show110Info(this,2,2);"
bgcolor="#FFFFFF"
>报警级别</td><td style="cursor:hand"
onclick="show110Info(this,3,2);"
bgcolor="#FFFFFF"
>室外</td><td style="cursor:hand"
onclick="show110Info(this,4,2);"
bgcolor="#FFFFFF"
>遥</td><td id='uaid2' style="cursor:hand"
onclick="show110Info(this,5,2);"
bgcolor="#FFFFFF"
>接警</td></tr>
<tr ><td bgcolor="#F7F7F7"
style="cursor:hand"
onclick="show110Info(this,1,1);"
>2006-1-1</td><td style="cursor:hand"
onclick="show110Info(this,2,1);"
bgcolor="#F7F7F7"
>报警级别</td><td style="cursor:hand"
onclick="show110Info(this,3,1);"
bgcolor="#F7F7F7"
>室内</td><td style="cursor:hand"
onclick="show110Info(this,4,1);"
bgcolor="#F7F7F7"
>顶替</td><td id='uaid1' style="cursor:hand"
onclick="show110Info(this,5,1);"
bgcolor="#F7F7F7"
>接警</td></tr>
</table></td>
</tr>
</table>
<p> </p></body>
</html>
代码如下:
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html;
charset=gb2312">
<title>待处理业务</title>
<link href="css/style.css"
rel="stylesheet"
type="text/css">
<SCRIPT language=JavaScript src="js/common.js"
type=text/JavaScript></SCRIPT>
<link href="css/menu.css"
rel="stylesheet"
type="text/css">
</head>
<script language="JavaScript"
>
function show110Info(the,col,id)
{var E=eval('document.all.uaid'+id);
E.innerHTML="正在查看...";//待处理";
openURL("/sx110/show110.jsp?uaid="+id);
}
</script>
<body >
<table width="100%"
border="0"
cellpadding="1"
cellspacing="0"
bgcolor="#E7EFF7">
<tr>
<td >
<div align="center">待处理业务列表</div></td>
</tr>
<tr>
<td><table width="100%"
border="0"
cellspacing="2"
cellpadding="0">
<tr>
<td bgcolor="#669933">
<div align="center"><a href="test.htm">报警时间</a></div></td>
<td bgcolor="#669933">
<div align="center">报警级别</div></td>
<td bgcolor="#669933"><div align="center">类别</div></td>
<td bgcolor="#669933"><div align="center">报警地点</div></td>
<td bgcolor="#669933"><div align="center">当前状态</div></td>
</tr>
<tr ><td bgcolor="#FFFFFF"
style="cursor:hand"
onclick="show110Info(this,1,2);"
>2006-1-2</td><td style="cursor:hand"
onclick="show110Info(this,2,2);"
bgcolor="#FFFFFF"
>报警级别</td><td style="cursor:hand"
onclick="show110Info(this,3,2);"
bgcolor="#FFFFFF"
>室外</td><td style="cursor:hand"
onclick="show110Info(this,4,2);"
bgcolor="#FFFFFF"
>遥</td><td id='uaid2' style="cursor:hand"
onclick="show110Info(this,5,2);"
bgcolor="#FFFFFF"
>接警</td></tr>
<tr ><td bgcolor="#F7F7F7"
style="cursor:hand"
onclick="show110Info(this,1,1);"
>2006-1-1</td><td style="cursor:hand"
onclick="show110Info(this,2,1);"
bgcolor="#F7F7F7"
>报警级别</td><td style="cursor:hand"
onclick="show110Info(this,3,1);"
bgcolor="#F7F7F7"
>室内</td><td style="cursor:hand"
onclick="show110Info(this,4,1);"
bgcolor="#F7F7F7"
>顶替</td><td id='uaid1' style="cursor:hand"
onclick="show110Info(this,5,1);"
bgcolor="#F7F7F7"
>接警</td></tr>
</table></td>
</tr>
</table>
<p> </p></body>
</html>