PageSourceSearch

https://www.smartseoarticle.com/wp-content/plugins/wizweb-post-sub…/assets/js/wpsub-signup.js?ver=1790863263

js smartseoarticle.com collected 2026-10-01 14:02:07 UTC 1,629 bytes, 39 lines download raw bytes

1jQuery(document).ready(function ($) {
2    $('#wpsub-signup-form').on('submit', function (e) {
3        e.preventDefault(); // Prevent default form submission
4
5        // Clear previous messages
6        $('#signup-message').hide().text('');
7
8        // Collect form data
9        var formData = {
10            action: 'wpsub_ajax_signup',
11            nonce: $('input[name="nonce"]').val(),
12            wpsub_username: $('#wpsub_username').val(),
13            wpsub_email: $('#wpsub_email').val(),
14            wpsub_password: $('#wpsub_password').val(),
15        };
16
17        // Send AJAX request
18        $('#wpsub-signup-btn').html('please wait...');
19        $.ajax({
20            type: 'POST',
21            url: wpsub_signup_obj.ajax_url,
22            data: formData,
23            success: function (response) {
24                if (response.success) {
25                    $('#wpsub-alert-message').html('<div class="alert alert-success" role="alert">'+response.data.message+'</div>');
26                    $('#wpsub-signup-form')[0].reset(); // Reset the form
27                    $('#wpsub-signup-btn').html('Sign Up')
28                } else {
29                    $('#wpsub-alert-message').html('<div class="alert alert-danger" role="alert">'+response.data.message+'</div>');
30                    $('#wpsub-signup-btn').html('Sign Up')
31                }
32            },
33            error: function () {
34                $('#wpsub-alert-message').html('<div class="alert alert-danger" role="alert">An error occurred. Please try again later.</div>');
35                $('#wpsub-signup-btn').html('Sign Up')
36            },
37        });
38    });
39});

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.