PageSourceSearch

https://www.stars4kids.org/wp-content/plugins/cleverreach/resources/js/form.js?ver=7.1.2

js stars4kids.org collected 2026-10-02 11:51:15 UTC 807 bytes, 26 lines download raw bytes

1var haet_cleverreach = haet_cleverreach || {};
2
3jQuery(document).ready(function ($) {
4    $('.haet-cleverreach-form').submit(function () {
5        var $form = $(this);
6        var submission = {};
7        $form.find('.cleverreach-loader').slideDown(400);
8        $form.find('[name]').each(function () {
9            var $field = $(this);
10            submission[$field.attr('name')] = $field.val();
11            if ($field.attr('type') == 'checkbox' && !$field.is(':checked'))
12                submission[$field.attr('name')] = '';
13        })
14
15        var data = {
16            'action': 'cleverreach_submit',
17            'submission': submission
18        };
19
20        $.post(haet_cr_ajax.ajax_url, data, function (response) {
21            $form.replaceWith(response);
22        });
23
24        return false;
25    });
26});

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.