<body onload="loadFun();">
<input type=hidden name=thisPageHasBeenSubmitted >
<form name="form1" method="post" action="a2.html" >
<input type="text" name="txt">
<input type="submit" name="submit" value="submit" onclick="document.all.thisPageHasBeenSubmitted.value=1;">
</form>
</body>
<script language=javascript>
function loadFun()
{
if(document.all.thisPageHasBeenSubmitted.value)
{
alert("页面己被submit,资料过期")
history.forward();
}}
</script>
<input type=hidden name=thisPageHasBeenSubmitted >
<form name="form1" method="post" action="a2.html" >
<input type="text" name="txt">
<input type="submit" name="submit" value="submit" onclick="document.all.thisPageHasBeenSubmitted.value=1;">
</form>
</body>
<script language=javascript>
function loadFun()
{
if(document.all.thisPageHasBeenSubmitted.value)
{
alert("页面己被submit,资料过期")
history.forward();
}}
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货