-
+
-
diff --git a/js/script_2.0.js b/js/script_2.0.js
index 8f1e1cc..5bc90c3 100644
--- a/js/script_2.0.js
+++ b/js/script_2.0.js
@@ -10,6 +10,17 @@ require("../node_modules/bootstrap/dist/js/bootstrap.bundle.min.js");
$(document).ready(function() {
+ $("#advanSW").on('change', function() {
+ if ($(this).prop('checked')) {
+ $("#simpleSearchDiv").attr('style', "display: none;");
+ $("#collapseOptions").collapse('hide');
+ $("#advancedSearchDiv").attr('style', "display: flex;");
+ } else {
+ $("#simpleSearchDiv").attr('style', "display: flex;");
+ $("#advancedSearchDiv").attr('style', "display: none;");
+ }
+ });
+
$("#copiaTesto").prop("disabled", true);
// Evento: click sul bottone di copia dei risultati testuali