How does the reload work? I thought when it reload, I will see everything as the first time it load. But when I click button in the sample below to reload the page, I don't see button any more.
Thank in advance.
Thank in advance.
Code:
<html>
<head>
<script>
function reloadPage()
{
location.reload()
}
</script>
</head>
<body>
<input type="button" value="Reload page" onclick="reloadPage()">
</body>
</html>