Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to reload the window by click on button in javascript

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

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