返回上一页

1、<a href="javascript:void(0);" onclick="window.history.go(-1)">返回</a>

2.<input type="button" class="btn btn-default" id="Button1" value="返回" style="float:left; margin-left:20px" onclick="reback()" />

function reback() {
  var hylx = '1';
  if (hylx == 1) {
    window.location.href = "HYGL.aspx";
  } else if (hylx == 2) {
    window.location.href = "JXHYGL.aspx";
  }else {
    window.location.href = "ZYHYGL.aspx";
  }

}

posted @ 2017-11-24 11:51  hj0612  阅读(169)  评论(0编辑  收藏  举报