Home > Article > Web Front-end > How to implement page jump using js
The three methods of js to achieve page jump are as follows:
Method one:
<script language="javascript" type="text/javascript"> window.location.href="jb51.jsp?backurl="+window.location.href; </script>
Method two:
<script language="javascript"> alert("返回"); window.history.back(-1); </script>
Method Three:
<script language="javascript"> window.navigate("jb51.jsp"); </script>
Recommended tutorial: js entry tutorial
The above is the detailed content of How to implement page jump using js. For more information, please follow other related articles on the PHP Chinese website!