PageSourceSearch

https://servpay.ng/auth/js/main.js

js servpay.ng collected 2026-10-02 02:03:03 UTC 948 bytes, 26 lines download raw bytes

1"use strict"
2
3$(window).on("load", function() {
4    $('.btn-forget').on('click',function(e){
5        e.preventDefault();
6        var inputField = $(this).closest('form').find('input');
7        if(inputField.attr('required') && inputField.val()){
8            $('.error-message').remove();
9            $('.form-items','.form-content').addClass('hide-it');
10            $('.form-sent','.form-content').addClass('show-it');
11        }else{
12            $('.error-message').remove();
13            $('<small class="error-message">Please fill the field.</small>').insertAfter(inputField);
14        }
15
16    });
17    
18    $('.btn-tab-next').on('click',function(e){
19        e.preventDefault();
20        $('.nav-tabs .nav-item > .active').parent().next('li').find('a').trigger('click');
21    });
22    $('.custom-file input[type="file"]').on('change', function(){
23        var filename = $(this).val().split('\\').pop();
24        $(this).next().text(filename);
25    });
26});

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.