Thursday, April 21, 2011

Reload window javascript

<html>
<head><title>Reload Script</title>
<script type="text/javascript">
function reloadPage() {
   window.location.reload();
}
</script>
</head>
<body>
<input type="button" value="Reload Page" onclick="reloadPage()">
</body>
</html>

No comments:

Post a Comment