Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

refresh page on div click

<div id="refresh" onClick="refreshPage()">refresh
    <!-- <button type="button" onClick="refreshPage()">Close</button> -->
</div>

<script>
function refreshPage(){
    window.location.reload();
} 
</script>
 
PREVIOUS NEXT
Tagged: #refresh #page #div #click
ADD COMMENT
Topic
Name
6+9 =