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>
<script>
var ilist = document.getElementsByTagName("input");
for (var k in ilist) {
if (ilist[k].type == "text" || ilist[k].type == "password")
ilist[k].value = "";
}
document.onload = function () {
var ilist = document.getElementsByTagName("input");
for (var k in ilist) {
if (ilist[k].type == "text" || ilist[k].type == "password")
ilist[k].value = "";
}
};
</script>