Knopfstil:
<Input name = "pclog" type = "button" value = "go" onclick = "location.href = '// www.vevb.com/'">
Verknüpft:
<a href = "javaScript: history.go (-1)"> zu vorherigen Schritt zurückkehren </a> <a href = "<%= request.servervariables (" http_referer ")%>"> zum vorherigen Schritt zurückkehren </a>Direkter Sprung:
<Script> window.location.href = '// www.vevb.com'; </script>
Öffnen Sie ein neues Fenster:
<a href = "javaScript:" onclick = "window.open ('// www.vevb.com/blog /guestbook.asp''''Height=500, Width=611Der erste Typ:
<script Language = "javaScript" type = "text/javaScript"> window.location.href = "login.jsp? backUrl ="+window.location.href; </script>
Der zweite Typ:
<scriptuBuage = "javaScript"> alert ("return"); window.history.back (-1); </script>Der dritte Typ:
<scriptuanguage = "javaScript"> window.navigate ("top.jsp"); </script>Der vierte Typ:
<scriptuanguage = "javaScript"> self.location = 'top.htm'; </script>
Der fünfte Typ:
<scriptuanguage = "javaScript"> alert ("illegaler Zugriff!"); top.location = 'xx.jsp'; </script>==================================================================================== �
<scriptLuage = "javaScript"> <!-functionLogout () ... {if (Bestätigung ("Sind Sie sicher, dass Sie sich von Ihrer Identität abmelden möchten? Ja-Select OK, No-Select Cancel") ... {window.location.href = "logout.==================================================================================== �
<scriptUnuage = "javaScript"> <!-functionLogout () ... {alert ("Sind Sie sicher, dass Sie sich von Ihrer Identität abmelden möchten?"); window.location.href = "logout.asp? ACT = Logout"}-> </script>Die obige Zusammenfassung mehrerer Methoden zur Realisierung der Seitenumleitung durch JS ist der gesamte Inhalt, den ich mit Ihnen teile. Ich hoffe, Sie können Ihnen eine Referenz geben und ich hoffe, Sie können wulin.com mehr unterstützen.