PageSourceSearch

https://www.confartigianato.it/core/modules/69f42f0638/js/scripts.js?rnd=57596

js confartigianato.it collected 2026-10-02 02:26:10 UTC 1,455 bytes, 54 lines download raw bytes

1jQuery(document).ready( function(){	
2	jQuery(".conf_dropdown_toggle").click( function(e){
3		e.preventDefault();
4		var btn    = jQuery(this);
5		var year   = btn.closest(".conf_years_container");
6		var months = jQuery(".conf_months_container",year);
7
8		btn.prop("disabled",true);
9		months.slideToggle("slow",function(){			
10			btn.prop("disabled",false);
11		});
12	});
13});
14
15jQuery(".conf_search_faq form").submit(function(e){
16	
17	var form    = jQuery(this);
18	var btn     = jQuery("#conf_search_faq_submit");
19	var wrapper = jQuery("#conf_faq_accordion_wrapper");
20	var txt     = jQuery('#conf_search_faq_text').val();
21	var error   = jQuery('#conf_search_faq_error');
22	var results = false;
23
24	error.html("").hide();
25	
26	if(txt == "" || txt.length < 3){
27		e.preventDefault();
28		error.html("Inserisci almeno 3 caratteri.").css("color","red").fadeIn();
29		return false;
30	}
31
32	if(form.hasClass("conf_search_faq_results")){
33		e.preventDefault();
34
35		btn.prop("disabled",true);
36		
37		jQuery('.sp-ea-single', wrapper).each(function(){
38			jQuery(this).hide();
39		   if(jQuery(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1){
40		       jQuery(this).show();
41		       results = true;
42		   }
43		});
44		btn.prop("disabled",false);
45		if(results){
46			wrapper.hide().fadeIn();
47			jQuery("html, body").animate({ scrollTop: jQuery("#conf_faq_accordion_wrapper").offset().top }, 500);
48		}else{
49			error.html("Nessun risultato trovato.").css("color","black").fadeIn();
50		}
51	}
52	
53
54});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.