Basic JavaScript Question:

How to reload the current page?

Tweet Share WhatsApp

Answer:

To reload the current web page using JavaScript use the below line of code...

window.location.reload(true);

Download JavaScript PDF Read All 114 JavaScript Questions
Previous QuestionNext Question
How to set the cursor to wait? How to force a page to go to another page using JavaScript?