js常用页面跳转

<script type="text/javascript">

var fromUrl="<%=request.servervariables("HTTP_REFERER")%>";//获取来源页面的地址
window.location.reload(fromUrl);//再转向到获取的地址
</script>

<script type="text/javascript">
  alert ('你已收藏过该投标');location.href='$_SERVER[HTTP_REFERER]';
</script>

Leave a Reply

(will not be published)