Home>Article>Web Front-end> How to control page jump with javascript
Method: 1. Use "window.location.href="page address""; 2. Use the "window.history.back()" statement; 3. Use the "window.navigate()" statement; 4. Use the "self.location="address"" statement.
The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.
The first one: jump directly and add parameters
directly Jump without parameters:
Second: Return to the last preview interface
Tag nesting:
返回上一步 ">返回上一步
Third Type: The specified jump page is invalid for the frame. . .
The fourth way: specifying the own jump page is invalid for the frame. .
Application examples:
For more programming-related knowledge, please visit:Programming Video! !
The above is the detailed content of How to control page jump with javascript. For more information, please follow other related articles on the PHP Chinese website!