Basic JavaScript Question:
Download Questions PDF

How to reload the current page?

Answer:

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

window.location.reload(true);

Download JavaScript Interview Questions And Answers PDF

Previous QuestionNext Question
How to set the cursor to wait? How to force a page to go to another page using JavaScript?