PageSourceSearch

https://www.rpp-institut.com/wp-content/themes/rppinstitut/assets/js/woo.registration.ajax.js?ver=1.0.0

js rpp-institut.com collected 2026-10-02 05:18:47 UTC 1,733 bytes, 40 lines download raw bytes

1jQuery(document).ready(function() {
2    // Binden Sie das AJAX-Registrierungsereignis an die Schaltfläche "Registrieren"
3    jQuery('.woocommerce-form-register').on('submit', function(e) {
4        e.preventDefault();
5
6        var form = jQuery(this);
7        var submitButton = form.find('.woocommerce-form-register__submit');
8        var notificationDiv = jQuery('#rpp-woo-registration-notification');
9        var successDiv = jQuery('#rpp-woo-registration-success');
10
11        // Button deaktivieren und Daten aus Formular sammeln
12        submitButton.prop('disabled', true);
13        var registration_data = form.serialize();
14
15        // AJAX-Anfrage zum Registrieren des Benutzers
16        jQuery.ajax({
17            type: 'POST',
18            dataType: 'json',
19            url: ajaxurl, 
20            data: {
21                'action': 'rpp_woo_ajax_registration',
22                'registration_data': registration_data
23            },
24            success: function(response) {
25                if (response.error) {
26                    notificationDiv.html(response.message).addClass('rpp-notification-show');
27                    submitButton.prop('disabled', false); // Button wieder aktivieren
28                } else {
29                    notificationDiv.removeClass('rpp-notification-show').hide();
30                    submitButton.hide();
31                    successDiv.addClass('rpp-notification-show').show();
32                }
33            },
34            error: function() {
35                notificationDiv.html('Ein Fehler ist aufgetreten. Bitte versuchen Sie es erneut.').addClass('rpp-notification-show');
36                submitButton.prop('disabled', false); // Button wieder aktivieren
37            }
38        });
39    });
40});

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.