一:
<html>
<head>
<script language='javascript' type='text/javascript'>
var second = 6;
function djs() {
if(second<=0){
window.location.href = "https://www.jd.com";
return;
}
second--;
var span = document.getElementById('djsSapn');
span.innerHTML=second.toString();
setTimeout('djs()', 1000);
}
</script>
</head>
<body onload="javascript:djs();">
you will go to JD.com in <span id='djsSapn' style='background:yellow;height:20px;width:30px;'>5</span> seconds
</body>
</html><html>
<head>
<script language='javascr