Refresh a page using JavaScript or HTML

Prabakaran picture Prabakaran · Mar 14, 2011 · Viewed 549.6k times · Source

How can I refresh a page using JavaScript or HTML?

Answer

Reid picture Reid · Mar 14, 2011

window.location.reload(); in JavaScript

<meta http-equiv="refresh" content="1"> in HTML (where 1 = 1 second).