<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">?<head>? <meta charset="UTF-8">? <title> new document </title>? ?</head>?<body>? 恭喜您注冊成功<span id="socond" style="color:red;">5</span>秒后跳轉到首頁如果不跳轉請<a href="www.imoooc.com;">點擊這里</a>?</body>? <script type="text/javascript">var time=5;var timer;timer=setInterval(function(){var second=document.getElementById("socond");if(time<=1){innerHTML=time;time--}else{clearInterval(timer);location.href="www.imoooc.com";}},1000);</script></html>各位就是這個在網頁上顯示亂碼,怎么解決?而后跳轉怎么說頁面加載錯誤?
這個亂碼和載入后跳轉錯誤怎么解決
慕粉3884565
2016-10-25 13:56:23