PageSourceSearch

https://www.fysiotape.nl/wp-content/plugins/zam-fysiozoeker/js/script.js?ver=1.1.1

js fysiotape.nl collected 2026-10-02 11:48:38 UTC 3,205 bytes, 75 lines download raw bytes

1jQuery( function($) {
2
3
4
5
6    if ($('#fysiosearch_postcode').length) {
7
8        $( document ).on( 'click', '#fysiosearch_search', function(e) {
9            var postcode        = $('#fysiosearch_postcode').val().replace(' ', '');
10            var country         = $('#fysiosearch_country').val();
11            var specialisation  = $('#filter_specialisations').val();
12            // var rege            = /^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/i;
13            var rege            = /^[a-z0-9]+$/i;
14
15            console.log( rege.test(postcode) )
16
17            if (rege.test(postcode)) {
18                $.ajax(
19                    {
20                        type: 'POST',
21                        url: '/wp-admin/admin-ajax.php',
22                        data: {
23                            action: 'ajax_get_range_map',
24                            postcode: postcode,
25                            country: country,
26                            specialisation: specialisation
27                        },
28                        beforeSend: function(){
29                            $('#fysiosearch_result_map, #fysiosearch_result_list').html('<div class="text-center full-width"><i class="fa fa-spinner fa-spin"></i></div>');
30                        },
31                        success: function( response ) {
32                            var content = '';
33
34                            $('#fysiosearch_notices').html('');
35                            $('#fysiosearch_result_map').html( response.map ).removeClass('placeholder_active');
36
37                            var $build_list = JSON.parse(response.list);
38
39                            content += '<div class="secundary-color spacer-m-top">Zoekresultaten:</div>';
40                            content += '<ul class="fysiosearch_result_list nolist">';
41
42                            $build_list.forEach($values => {
43                                content += '<li>';
44                                content += '<a href="?id=' + $values['id'] + '">';
45
46                                content += '<span class="primary-color bold">' + $values['billing_company'] + '</span>';
47                                content += "<br>";
48
49                                content += $values['billing_address_1'];
50                                content += "<br>";
51
52                                content += $values['billing_postcode'] + ' ' + $values['billing_city'];
53                                content += '<br>';
54
55                                content += '<span class="secundary-color">' + $values['billing_company'] + '</span>';
56
57                                content += '</a>';
58                                content += '</li>';
59                            });
60
61                            content += "</ul>";
62
63                            $('#fysiosearch_result_list').html(content);
64                        }
65                    }
66                )
67            } else {
68                $('#fysiosearch_notices').html(
69                '<div class="woocommerce-error" role="alert">' +
70                    'Vul een geldige postcode in' +
71                '</div>' );
72            }
73        });
74    }
75});

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.