PageSourceSearch

https://oxbowanimalhealth.com/wp-content/themes/oxbowanimalhealth/…/assets/vet-connect.js?ver=7.1.2

js oxbowanimalhealth.com collected 2026-09-24 09:29:19 UTC 1,729 bytes, 53 lines download raw bytes

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

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.