PageSourceSearch

https://www.projectinvictus.it/wp-content/plugins/fooevents/js/events-frontend.js

js projectinvictus.it collected 2026-09-24 20:26:32 UTC 2,679 bytes, 55 lines download raw bytes

1(function ($) {
2
3    jQuery('.fooevents-copy-from-purchaser').on('click', function () {
4
5        var billing_first_name = jQuery('#billing_first_name').val();
6        var billing_last_name = jQuery('#billing_last_name').val();
7        var billing_email = jQuery('#billing_email').val();
8        var billing_phone = jQuery('#billing_phone').val();
9        var billing_company = jQuery('#billing_company').val();
10
11        var parent = jQuery(this).parent('p').parent('div');
12
13        parent.find('input').closest('.fooevents-attendee-first-name input').val(billing_first_name);
14        parent.find('input').closest('.fooevents-attendee-last-name input').val(billing_last_name);
15        parent.find('input').closest('.fooevents-attendee-email input').val(billing_email);
16        parent.find('input').closest('.fooevents-attendee-telephone input').val(billing_phone);
17        parent.find('input').closest('.fooevents-attendee-company input').val(billing_company);
18
19        return false;
20
21    });
22
23    if ('autocopy' == frontObj.copyFromPurchaser || 'autocopyhideemail' == frontObj.copyFromPurchaser) {
24
25        var billing_first_name = jQuery('#billing_first_name').val();
26        var billing_last_name = jQuery('#billing_last_name').val();
27        var billing_email = jQuery('#billing_email').val();
28        var billing_phone = jQuery('#billing_phone').val();
29        var billing_company = jQuery('#billing_company').val();
30
31        jQuery('.fooevents-attendee-first-name input').val(billing_first_name);
32        jQuery('.fooevents-attendee-last-name input').val(billing_last_name);
33        jQuery('.fooevents-attendee-email input').val(billing_email);
34        jQuery('.fooevents-attendee-telephone input').val(billing_phone);
35        jQuery('.fooevents-attendee-company input').val(billing_company);
36
37        jQuery('.woocommerce-billing-fields input').not('.attendee-class input').on('change', function () {
38
39            var billing_first_name = jQuery('#billing_first_name').val();
40            var billing_last_name = jQuery('#billing_last_name').val();
41            var billing_email = jQuery('#billing_email').val();
42            var billing_phone = jQuery('#billing_phone').val();
43            var billing_company = jQuery('#billing_company').val();
44
45            jQuery('.fooevents-attendee-first-name input').val(billing_first_name);
46            jQuery('.fooevents-attendee-last-name input').val(billing_last_name);
47            jQuery('.fooevents-attendee-email input').val(billing_email);
48            jQuery('.fooevents-attendee-telephone input').val(billing_phone);
49            jQuery('.fooevents-attendee-company input').val(billing_company);
50
51        });
52
53    }
54
55})(jQuery);

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.