页面刷新

JavaScript怎么实现页面的刷新
JavaScript

JavaScript怎么实现页面的刷新

29 0

页面刷新方法:1、“history.go(0)”语句;2、“location.reload()”语句;3、“location=location”语句;4、“location.assign(location)”语句等等。本教程操作环境:windows7系统、javascript1.8.5版、Dell G3电脑。Javascript刷新页面的几种方法:history.go(0)location.reload()location=locationlocation.assign(location)document