Organize the JS page jump reference Code
The first type:
<script language=/"javascript/" type=/"text/javascript/" >
window.location.href=/"login.jsp?backurl=/" +WINDOW.LOCATION.HREF;
</script>
The second type:
<script language=/"javascript/" >
Alert (/"return/");
Window.history.back (-1);
</script>
The third type:
<script language=/"javascript/" >
Window.navigate (/"top.jsp/");
</script>
The fourth type:
<script language=/"javascript/" >
self.location= ' top.htm ';
</script>
The fifth type:
<script language=/"javascript/" >
Alert (/"Illegal access! /");
top.location= ' xx.jsp ';
</script>
=====javascript pop-up selection box jumps to other pages =====
<script language=/"javascript/" >
<!--
function logout () ... {
if (confirm (/) Are you sure you want to unregister your identity? Yes-Select OK, no-select Cancel/") ... {
window.location.href=/"logout.asp?act=logout/"
}
}
-
</script>
=====javascript pop-up box jumps to other pages =====
<script language=/"javascript/" >
<!--
function logout () ... {
Alert (/"Are you sure you want to unregister your identity?") /");
window.location.href=/"logout.asp?act=logout/"
}
-
</script>
JS page Jump Reference Code Daquan