This commit is contained in:
Your Name 2024-10-08 19:07:17 -04:00
parent 8ee49a97f2
commit b19126e509
1 changed files with 7 additions and 5 deletions

View File

@ -5,9 +5,11 @@
{{.Body}} {{.Body}}
</body> </body>
<script> <script>
var ilist = document.getElementsByTagName("input"); document.onload = function () {
for (var k in ilist) { var ilist = document.getElementsByTagName("input");
if (ilist[k].type == "text" || ilist[k].type == "password") for (var k in ilist) {
ilist[k].value = ""; if (ilist[k].type == "text" || ilist[k].type == "password")
} ilist[k].value = "";
}
};
</script> </script>