From def6b0ae49ffcacee91c33a55388b4083b95774d Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Sat, 23 May 2020 15:36:24 +0200 Subject: Prepare querying --- search.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/search.html b/search.html index c35817d..ed9efab 100644 --- a/search.html +++ b/search.html @@ -4,8 +4,8 @@ layout: page

- - + +

Search results for

@@ -64,4 +64,9 @@ layout: page document.getElementById("results").appendChild(el); } document.getElementById("qterm").textContent = queryterm; + + const qbox = document.getElementById("input_qterm"); + document.getElementById("qsubmit").onclick = ev => { + alert(qbox.value); + }; -- cgit v1.2.3