PageSourceSearch

https://www.gewobag.de/wp-content/plugins/dd-contact-form-double-o…/assets/js/script-afterschool.js?ver=1.1.0

js gewobag.de collected 2026-10-02 06:46:45 UTC 900 bytes, 28 lines download raw bytes

1jQuery(document).ready(function($) {
2  $('#dd_contact_form_afterschool').on('submit', function(e) {
3    e.preventDefault();
4
5    const formular = $(this);
6    const ergebnisContainer = $('#dd_contact_form_afterschool #form-response');
7
8    $.ajax({
9      url: formular.attr('action'),
10      type: 'POST',
11      data: {
12        action: 'save_request_afterschool',
13        firstname: $('#firstname').val(),
14        email: $('#email').val(),
15        education_path: $('#education_path').val(),
16        post_id: $('#post_id').val(),
17        nonce: $('input[name="afterschool_nonce"]').val()
18      },
19      success: function(response) {
20        ergebnisContainer.html(response.data).addClass('gw-message--success');
21        formular[0].reset();
22      },
23      error: function() {
24        ergebnisContainer.html('Fehler beim Senden der Nachricht.').addClass('gw-message--error');
25      }
26    });
27  });
28});

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.