ylboke

实习以来,一直在学习和熟悉公司框架,每天都很晚休息。没什么时间,最近个人负责的模块也差不多测试完成。是时候再开始充电啦。好久没有更新博客,更新一下。这是实习以来第一篇博客。

关于页面刷新方式:
1. the first one 使用meta标签
 <meta http-requiv="refresh" content="3" url="http://baidu.com">

   这里当http-requiv设置为refresh时,会自动刷新当前页面 content为每次刷新间隔秒数,URL表示刷新后的页面地址

 2.the second one 使用BOM对象的history属性
  设置一个函数
  function refresh(){
   history.go(-0); //刷新
  }

两种都可以实现页面刷新。

分类:

技术点:

相关文章:

  • 2021-12-05
  • 2021-12-23
  • 2021-12-29
  • 2021-11-13
  • 2021-12-13
  • 2021-08-03
  • 2021-11-13
  • 2021-09-07
猜你喜欢
  • 2021-12-13
  • 2021-12-23
  • 2021-12-19
  • 2021-12-31
  • 2021-12-19
  • 2021-12-15
  • 2021-12-23
相关资源
相似解决方案