+ 1
How to reload webpage using JavaScript?
Can someone help me how to reload my webpage using JS? After the you win or loss the game, I want to reload it. https://code.sololearn.com/WHn35M6Q1OiN/?ref=app
2 Antworten
+ 3
<input type="button" onClick="reload()" value="reload"/>
<script>
function reload(){
location.reload();
}
</script>
+ 2
I don't what's happening but it goes to my browser.