<span id="tiao">3</span><a href="javascript:countDown"></a>n秒后自动跳转……<meta http-equiv=refresh content=3;url='/search/billsearch.jsp'</ul>
<!--脚本开始-->
<script language="javascript" type="">
function countDown(secs){
tiao.innerText=secs;
if(--secs>0)
setTimeout("countDown("+secs+")",1000);
}
countDown(3);
</script>
<!--脚本结束-->
Push-button:
<INPUT name="pclog" type="button" value="GO" onClick="location.href='http://www.ddhbb.com/'">
Link type:
<a href="javascript:history.go(-1)"> return to the previous </a>
<a href="<%=Request.ServerVariables("HTTP_REFERER")%>">返回上一步</a>
Jump directly type:
<script>window.location.href='http://www.ddhbb.com';</script>
New Window:
<a href="javascript:" onClick="window.open('http://www.ddhbb.com/blog /guestbook.asp','','height=500,width=611,scrollbars=yes,status=yes')"& gt;布丁足迹</a>
JS jump page reference code
first:
<Script Language = "JavaScript" type = "text / JavaScript">
window.location.href = "the login.jsp backurl =?" + Window.location.href;
</ Script>
The second:
<Script Language = "JavaScript">
Alert ( "return");
window.history.back (-1);
</ Script>
third:
<Script Language = "JavaScript">
window.navigate ( " top.jsp ");
</ Script>
fourth:
<Script Language =" the JavaScript ">
self.location = 'the top.htm';
</ Script>
fifth:
<Script Language =" JavaScript ">
Alert ( "unauthorized access!");
top.location = 'xx.jsp';
</script>
===== javascript pop-up selection box to jump to another page =====
<Script Language = "JavaScript">
<-!
Function Zimbabwe Logout () {...
IF (Confirm The ( "Are you sure you want to logout identity ? it is - choose OK, No - select cancel ")) {...
window.location.href =" ACT = logout.asp Zimbabwe Logout "?
}
}
->
</ Script>
===== javascript in pop-up boxes to jump to another page =====
<Script Language = "JavaScript">
<-!
Function Zimbabwe Logout () ... {
Alert ( "Are you sure you want to logout status? ");
window.location.href ="? logout.asp ACT = Zimbabwe Logout "
}
->
</ Script>
Reproduced in: https: //my.oschina.net/kt431128/blog/224691