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

149
Vistas
Trying to logout then redirect to another page using javascript

I'm using a system called joget and my question on how to change the following code to make the user first logout and then after logout it will redirect him to another page. I only want to use javascript. First I want to call the logout url in href and then call onclick to move to another page. Any hint on how to apply this:

html += "<dd><a style=\"text-align:center\" href=\"" + data.get("logout_link") + "\" onclick=\"setTimeout(function () { window.location = 'https://abcd.com'; }, 1000);\"><i class=\"fa fa-power-off\"></i> "+ResourceBundleUtil.getMessage("theme.universal.logout")+"</a></dd>\n";
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