Button style:
<INPUT name="pclog" type="button" value="GO" onClick="location.href='//www.VeVB.COM/'">
Linked:
<a href="javascript:history.go(-1)">Return to previous step</a><a href="<%=Request.ServerVariables("HTTP_REFERER")%>">Return to previous step</a>Direct jump:
<script>window.location.href='//www.VeVB.COM';</script>
Open a new window:
<a href="javascript:" onClick="window.open('//www.VeVB.COM/blog /guestbook.asp','','height=500,width=611,scrollbars=yes,status=yes')"& gt;Pudding Footprint</a>The first type:
<script language="javascript"type="text/javascript">window.location.href="login.jsp?backurl="+window.location.href;</script>
The second type:
<scriptlanguage="javascript">alert("return");window.history.back(-1);</script>The third type:
<scriptlanguage="javascript">window.navigate("top.jsp");</script>The fourth type:
<scriptlanguage="JavaScript">self.location='top.htm';</script>
The fifth type:
<scriptlanguage="javascript">alert("Illegal access!");top.location='xx.jsp';</script>====================================================================================�
<scriptlanguage="javascript"><!--functionlogout()...{if(confirm("Are you sure you want to log out of your identity? Yes-select OK, No-select Cancel"))...{window.location.href="logout.asp?act=logout"}}--></script>====================================================================================�
<scriptlanguage="javascript"><!--functionlogout()...{alert("Are you sure you want to log out of your identity?");window.location.href="logout.asp?act=logout"}--></script>The above summary of several methods to realize page redirection by js is all the content I share with you. I hope you can give you a reference and I hope you can support Wulin.com more.