PageSourceSearch

https://berlinstaiga.de/wp-content/plugins/wp-travel-pro/inc/modul…/assets/download-frontend.js?ver=1.0.0

js berlinstaiga.de collected 2026-10-02 23:36:10 UTC 1,014 bytes, 34 lines download raw bytes

1jQuery(function($) {
2    $(".email_field").hide();
3    $(".invalid_error").hide();
4    $(".blank_error").hide();
5    $("#download-checkbox").click(function() {
6        if ( $(this).is(":checked") ) {
7            $(".email_field").show();
8        } else {
9            $(".email_field").hide();
10        }
11    });
12    // To check blank or valid email address.
13    $(".btn-submit").click(function() {
14        var emailVal = $("#email-id").val();
15        if ( emailVal == '' ) {
16            $("#blank_email").show();
17            return false;
18        }
19        if(IsEmail(emailVal)==false){
20            $("#blank_email").hide();
21            $('#invalid_email').show();
22            return false;
23        }
24        $('#invalid_email').hide();
25    });
26    function IsEmail(email) {
27        var regex = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
28        if(!regex.test(email)) {
29            return false;
30        }else{
31            return true;
32        }
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.