<a href="javascript:history.go(-1);">返回</a> //点击a标签返回上一步
<input type="button" value="返回" οnclick="history.go(-1)" /> //点击按钮返回上一步
>设置进入这个页面的时候3秒之后返回上一步,方法一:
<script type="text/javascript">setTimeout("history.go(-1)", 3000); </script>
>设置进入这个页面的时候3秒之后返回上一步,方法二:
<script language=javascript>
function go()
{
window.history.go(-1);
}
setTimeout("go()",3000);
</script>