In my html website I have a random number function:
<script>
var randomnumber=Math.floor(Math.random()*11)
document.getElementById("random").innerHTML = randomnumber;
</script>
I would like to add a "reload" button that changes the random number generated, without reloading the page. Is there any way to do this besides the location reload?