Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

246
Vistas
How to redirect to a thank-you.html page after form submission (javascript)

I am using a service called email.js

https://www.emailjs.com/

Here is the script:

  ```emailjs
                    .send(
                        "service_qenubp3",
                        "template_htul1w9",
                        templateParams,
                        "FKN-7Z513oHHBUzlm"
                    )
                    .then(
                        function (response) {
                            console.log(
                                "SUCCESS!",
                                response.status,
                                response.text
                            );
                            setEmailSent(true);
                        },
                        function (error) {
                            console.log("FAILED...", error);
                        }
                    );
            };
        };

I have a functioning form using their script however there is no from success page redirect option.

I would like to simply redirect using this script:

  window.open("https://rococo-kelpie-4411df.netlify.app/thankyou.html
");
}

I am having trouble implementing it.

Here is the URL where the form is working (click start here) minus the thank you page.

https://rococo-kelpie-4411df.netlify.app/xindex

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda