Saved X
Google login
SignUp with Email
X

How to refresh page in javascript?

theindreshverma ( Added  Sep 27, 01:09 am )
Login

You can refresh a web page using javascript location.reload method.

<button onclick="refresh_page()">Refresh</button>

<script>
function refresh_page() {
  location.reload();
}
</script>

More Sourcecodes

More Sourcecodes