PageSourceSearch

https://paperpal.com/blog/wp-content/themes/soledad/js/mc4wp-form.js?ver=8.7.6

js paperpal.com collected 2026-09-24 08:48:28 UTC 1,011 bytes, 34 lines download raw bytes

1jQuery(document).ready(function ($) {
2  $(document).on('submit','.mc4wp-form',function (e){
3    e.preventDefault();
4
5    var form = $(this),
6        formData = form.serialize();
7
8    form.addClass('loading');
9
10    // Send the AJAX request
11    $.ajax({
12      url: form.attr('action'),
13      type: 'POST',
14      data: formData,
15      success: function(data) {
16        var $html = $(data),
17          $message = $html.find('.mc4wp-response').html();
18          $('body').append('<div class="penciwp-notice-form"><div class="penciwp-notice-form-inner"><a class="pcwp-close-btn"></a>'+$message+'</div></div>');
19      },
20      error: function(xhr, status, error) {
21        // Handle any errors
22        console.error('Error:', error);
23        alert('There was an error with the submission.');
24      },
25      complete: function (){
26        form.removeClass('loading');
27      }
28    });
29  });
30  $(document).on('click','.pcwp-close-btn',function (e){
31    e.preventDefault();
32    $('.penciwp-notice-form').remove();
33  });
34});

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.