PageSourceSearch

https://apz-triol.ru/script_post.js

js apz-triol.ru collected 2026-10-07 18:15:11 UTC 789 bytes, 21 lines download raw bytes

1$(function() {
2  document.getElementById('ajax-contact-form').addEventListener('submit', function(evt){
3    var http = new XMLHttpRequest(), f = this;
4    var th = $(this);
5    evt.preventDefault();
6    http.open("POST", "contact.php", true);
7    http.onreadystatechange = function() {
8      if (http.readyState == 4 && http.status == 200) {
9        alert(http.responseText);
10        if (http.responseText.indexOf(f.nameFF.value) == 0) { // очистить поля формы, если в ответе первым словом будет имя отправителя (nameFF)
11          th.trigger("reset");
12        }
13      }
14    }
15    http.onerror = function() {
16      alert('Ошибка, попробуйте еще раз');
17    }
18    http.send(new FormData(f));
19  }, false);
20 
21});

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.