PageSourceSearch

https://iefponline.iefp.pt/IEFP/js/plugins/jquery-auto-trim.js

js iefp.pt collected 2026-09-25 08:41:08 UTC 416 bytes, 19 lines download raw bytes

1$(function() {
2    let autoTrimHandler = function() {
3        let $input = $(this);
4
5        if ($input.val()) {
6            $input.val($input.val().trim());
7        }
8    }
9
10
11
12    $('input.auto-trim')
13        .on('keyup', autoTrimHandler)
14        .on('paste', autoTrimHandler)
15        .on('change', autoTrimHandler)
16        .on('blur', autoTrimHandler);
17
18    $('input.auto-trim-on-blur').blur(autoTrimHandler);
19});

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.