<script> function backAndFresh(){ var url =document.referrer; window.location=url; } </script> <input class="btn btn-default" onclick="backAndFresh()" type="button" value="返回" />