PageSourceSearch

https://www.remaxcity.es/js/modulos/suscribete/suscribete.js?x=20260923140213

js remaxcity.es collected 2026-10-08 12:46:50 UTC 1,864 bytes, 52 lines download raw bytes

1$(".modulos-suscribete button.accionEnviar").click(function() {
2    var emailSuscripcion=$(".modulos-suscribete .emailSuscripcion").val();
3
4    if (!validarEmail(emailSuscripcion)) {
5        alerta(EMAIL_INCORRECTO);
6        return false;
7    }
8
9    if (!$(".modulos-suscribete #checkPolitica").is(":checked")) {
10        alerta(ACEPTAR_PRIVACIDAD);
11        return false;
12    }
13
14    if (!$(".modulos-suscribete #checkNewsletter").is(":checked")) {
15        alerta(ACEPTAR_NEWSLETTERS);
16        return false;
17    }
18
19    function enviandoSuscribete(){
20        switch ($(".modulos-suscribete").closest("section").prop("id")) {
21            case "modulo-suscribete-2" :
22                $(".modulos-suscribete .resultadoSuscribete").css("display","inline-block");
23                break;
24            default :
25                $(".modulos-suscribete .botonEnviar").addClass("enviando");
26                break;
27        }
28    }
29
30    grecaptcha.ready(function() {
31        grecaptcha.execute('6LeFvHcUAAAAADkYzbLtZuO5lRdgl6gpLYovrRwl', {action: 'suscribete'}).then(function(token) {
32            $.post( "modulos/__ajx/envios/enviosFormularios.php", {beforeSend: enviandoSuscribete, token: token, emailSuscripcion: emailSuscripcion}, function( data ) {
33
34                switch ($(".modulos-suscribete").closest("section").prop("id")) {
35                    case "modulo-suscribete-2" :
36                        $(".modulos-suscribete .resultadoSuscribete").css("display","none");
37                        break;
38                    default :
39                        $(".modulos-suscribete .botonEnviar").removeClass("enviando");
40                        break;
41                }
42
43                alerta(data.mensaje);
44            },"json");
45        });
46    });
47});
48
49
50$("#txtPoliticaSuscribete").click(function () {
51    modalNuestra('mytextoprivacidadFooter',POLITICA_PRIVACIDAD);
52});

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.