为何浏览器倒计时后自动跳转页面,而非手动选择新网址?
- 内容介绍
- 文章标签
- 相关推荐
本文共计108个文字,预计阅读时间需要1分钟。
1. [代码] [HTML] 代码 !DOCTYPE head title 浏览器对象 /title meta http-equiv=Content-Type content=text/; charset=gb123 / /head body H4 操作成功 /H4 p b id=second2 /b 秒后返回主页 nbsp a href=javascript:goBack() /a /body /
1.[代码][HTML]代码
<!DOCTYPE html> <html> <head> <title>浏览器对象</title> <meta www.imooc.com/"; } },1000); function goBack(){ window.history.go(-1); } </script> </body> </html>
本文共计108个文字,预计阅读时间需要1分钟。
1. [代码] [HTML] 代码 !DOCTYPE head title 浏览器对象 /title meta http-equiv=Content-Type content=text/; charset=gb123 / /head body H4 操作成功 /H4 p b id=second2 /b 秒后返回主页 nbsp a href=javascript:goBack() /a /body /
1.[代码][HTML]代码
<!DOCTYPE html> <html> <head> <title>浏览器对象</title> <meta www.imooc.com/"; } },1000); function goBack(){ window.history.go(-1); } </script> </body> </html>

