Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

94
Views
¿Hay alguna forma de capturar la URL de redirección y detener la redirección?

Cuando completo la información de la tarjeta de crédito y envío el pago en el sitio web en vivo, la transición es tan rápida que no permite que los eventos de compra se ejecuten por completo y redirijan a la página siguiente. Necesito detener la redirección por un tiempo y luego, después de una pausa, redirigir al usuario a la página de agradecimiento.

Estoy buscando algo, por ejemplo:

 e.preventDefault() var redirectURL = e.redirectURL ( this is assumption )

Nota: no tengo acceso respaldado, por lo que estoy usando GTM para ejecutar mis scripts.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Puede agregar el evento onsubmit a su elemento de formulario y luego agregar su lógica a ese evento.

 function onSubmit() { //TODO: Add your other logic here alert("The form was submitted"); }
 <!DOCTYPE html> <html> <body> <p>When you submit the form, a function is triggered which alerts some text.</p> <form action="/" onsubmit="onSubmit()"> <input type="submit" value="Submit"> </form> </body> </html>

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!