Home  >  Article  >  Web Front-end  >  5 ways to control page jumps with js_javascript skills

5 ways to control page jumps with js_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:23:031311browse

The first type:

Copy code The code is as follows:



Third type:



Copy code

Fourth method:



Copy code
< script language="javascript">
alert("Illegal access!");
top.location='xx.jsp';



Automatically jump to other pages after how many seconds (js script)

The code is as follows:




Then add in index.asp is the page you want to jump to.

Add

between
Method 2:





Copy code


The code is as follows:

The system will automatically jump to the new URL in 5 seconds. If it fails to jump, Please click.