How to make a Reload button in your website by using Javascript.

Simple Program to make a reload button by using JavaScript (HTML).



 <!DOCTYPE html>
<html>
<head>
<script>
function reloadPage()
  {
  location.reload();
  }
</script>
</head>
<body>

<input type="button" value="Reload page" onclick="reloadPage()">


</body>
</html>


Follow for new updates 😎

Comments

Popular posts from this blog

A Javascript Program To make (open new window and close that window) button in your web browser.

A simple running clock in javascript