From 629c97412b6ce72c3fb63fa8dd5c17518a73758b Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 23 Jan 2021 19:35:04 +0700 Subject: _www: add function to clear search result --- _www/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_www/index.html b/_www/index.html index aea85e5..f4fb76b 100644 --- a/_www/index.html +++ b/_www/index.html @@ -65,6 +65,7 @@ Caches: +
@@ -117,6 +118,10 @@ onSearchResult(res.data) } + async function doClearResult() { + document.getElementById("result").innerHTML = "" + } + function onSearchResult(dnsRecords) { const elResult = document.getElementById("result") elResult.innerHTML = "" -- cgit v1.3