PageSourceSearch

https://oxbowanimalhealth.com/wp-content/themes/oxbowanimalhealth/assets/js/ajax-login-script.js?ver=7.1.2

js oxbowanimalhealth.com collected 2026-09-24 09:29:18 UTC 1,418 bytes, 39 lines download raw bytes

1jQuery(document).ready(function($) {
2
3    // Show the login dialog box on click
4    $('a#show_login').on('click', function(e){
5        $('body').prepend('<div class="login_overlay"></div>');
6        $('form#oxbow-login').fadeIn(500);
7        $('div.login_overlay, form#login a.close').on('click', function(){
8            $('div.login_overlay').remove();
9            $('form#oxbow-login').hide();
10        });
11        e.preventDefault();
12    });
13
14    // Perform AJAX login on form submit
15    $('form#oxbow-login').on('submit', function(e){
16        $('form#oxbow-login p.status').show().text(ajax_login_object.loadingmessage);
17        $.ajax({
18            type: 'POST',
19            dataType: 'json',
20            url: ajax_login_object.ajaxurl,
21            data: { 
22                'action': 'ajaxlogin', //calls wp_ajax_nopriv_ajaxlogin
23                'username': $('form#oxbow-login #username').val(), 
24                'password': $('form#oxbow-login #password').val(), 
25                'security': $('form#oxbow-login #security').val() },
26            success: function(data){
27                $('form#oxbow-login p.status').text(data.message);
28                if (data.loggedin == true){
29                    document.location.href = ajax_login_object.redirecturl;
30                } else {
31					$('form#oxbow-login p.status').addClass('active');
32				}
33            }
34        });
35        e.preventDefault();
36    });
37	
38
39});

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.