Home>Topic List> js refresh current page

js refresh current page

js method to refresh the current page: 1. Reload method, this method forces the browser to refresh the current page, the syntax is "location.reload([bForceGet])"; 2. Replace method, this method replaces the current cache in the history by specifying the URL (client) project, so when using the replace method, the replaced URL cannot be accessed through "forward" and "back", the syntax is "location.replace(URL)". PHP Chinese website brings you the relevant knowledge about refreshing the current page with js, as well as related articles and other content

Related courses More>
Elementary WEB front-end tutorial [HTML5+CSS3+JS]

3398 times of learning

Collection
Elementary Issue 23_Front-end development

5818 times of learning

Collection
Related Tutorials More>
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!