you could reload the page from client side, then you will get new page with empty text boxes
sample code:
<body>
First name: <input type="text" name="fname"><br>
Last name: <input type="text" name="lname"><br>
<button onclick="myFunction()">Refresh</button>
<script>
function myFunction() {
location.reload();
}
</script>
or clear the textbox values from javascript
<body>
First name: <input type="text" name="fname"><br>
Last name: <input type="text" name="lname"><br>
<button onclick="myFunction()">Refresh</button>
<script>
function myFunction() {
var elements = document.getElementsByTagName("input");
for (var ii=0; ii < elements.length; ii++) {
if (elements[ii].type == "text") {
elements[ii].value = "";
}
}
}
</script>
client side textbox clearing will save round trip to server side.