Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to refresh page on click of button

<button type="button" onClick="refreshPage()">Close</button>


<script>
function refreshPage(){
    window.location.reload();
} 
</script>
   
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #refresh #page #click #button
ADD COMMENT
Topic
Name
9+5 =