PageSourceSearch

https://rozdilnianskahromada.gov.ua/js/subdomain/modern/validate-inputs.js

js rozdilnianskahromada.gov.ua collected 2026-09-25 04:26:39 UTC 490 bytes, 14 lines download raw bytes

1export function validateInputs() {
2    const inputs = document.querySelectorAll(".styled-input");
3    if (inputs.length > 0) {
4        for (let i = 0; i < inputs.length; i++) {
5            inputs[i].querySelector('input').addEventListener('change', function () {
6                if (this.value == "") {
7                    this.classList.remove('valid')
8                } else {
9                    this.classList.add('valid')
10                }
11            })
12        }
13    }
14}

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.