How to make refresh button using javascript

Can I create a function to refresh the page using JavaScript (the same browser refresh button)

thanks

+4
source share
2 answers

You can do this using: window.location.reload()

+10
source

Google ?: javascript update

 <!-- Codes by Quackit.com --> <a href="javascript:location.reload(true)">Refresh this page</a> 
+15
source

Source: https://habr.com/ru/post/1347427/


All Articles