PageSourceSearch

https://www.vitorlazas.hu/plugins/onlineform/js/functions-onlineform.js?v=1.200

js vitorlazas.hu collected 2026-10-02 12:41:50 UTC 893 bytes, 37 lines download raw bytes

1
2//document.addEventListener( "DOMContentLoaded", function() {
3	$(".contact-form .button").on("click", function() {
4		console.log("hello click");
5		let form = $(this).closest("form")[0];
6		let is_valid = form.checkValidity();
7		if (!form.checkValidity || is_valid) {
8			$(this).parent().find(".loader").removeClass("hidden");
9			form.submit();
10		} else {
11			form.reportValidity();
12		}
13	});
14	
15	if ($(".onlineform-errors").length) {
16		$('html, body').animate({scrollTop: $(".onlineform-errors").offset().top - 100 }, 500);
17	}
18//});
19
20
21let form_click;
22jQuery(document).ready(function() {
23    $(".button.g-recaptcha").on("click", function() {
24		form_click = $(this).closest("form");
25	});
26});
27
28
29function onSubmit(token, e) {
30	if (form_click[0].checkValidity()) {
31		$(".rct").val(token);
32		form_click.submit();
33	} else {
34		form_click[0].reportValidity();
35		
36	}
37}

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.