From 55fb4b76ef3f46240c8713a765086d2930afd7fe Mon Sep 17 00:00:00 2001 From: Luca Trupiano Date: Mon, 17 Oct 2022 16:18:12 +0200 Subject: [PATCH] Aggiunto bottone ricerca avanzata --- index_Luk_Q.html | 23 ++++++++++++++++------- js/script_Luk_Q.js | 11 +++++++++++ 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/index_Luk_Q.html b/index_Luk_Q.html index 3ea7ddb..db82c8d 100644 --- a/index_Luk_Q.html +++ b/index_Luk_Q.html @@ -59,7 +59,7 @@
-
+
@@ -69,7 +69,15 @@ + +
+ + +
+
+ +
-
+
+
-
- - -
+
+ + +
@@ -117,7 +126,7 @@
- + diff --git a/js/script_Luk_Q.js b/js/script_Luk_Q.js index 461efcf..7d2ad92 100644 --- a/js/script_Luk_Q.js +++ b/js/script_Luk_Q.js @@ -221,6 +221,17 @@ $(document).ready(function() { return false; }); + // Evento: click sul checkbox di Ricerca avanzata + $('#cla-TabContent').on('click', '#advanSW', function() { + console.log($(this).prop('checked')); + console.log($("#cla-TabContent")); + if ($(this).prop('checked')) { + $("#cla-Advanced").attr('style', "display: block;"); + } else { + $("#cla-Advanced").attr('style', "display: none;"); + } + }); + // Variabili JSON per i filtri