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

97
Vistas
Handling response from form submit that runs in new browser tab

I have this form which run service on my BE and result is displayed on new tab. It works fine but BE Service is running more than 10 minutes so currently I am refactoring it to use polling instead of 1 long time running request. Backend is done and it is now returning 202 code with ID of background job. I need to find a way how to handle 202 response in new tab and run new request to poll BE for a result. Any ideas how to "send polling code" to new tab or how to handle it in original tab?

Form is triggered with button. Now it only display 202 response on new tab. Need to find a way how to catch that response and run new request...

....
var form$ = $("<form>", {id:"myID", method :"post", action :serviceUrl, target :"_blank"});
$("body").append(form$);
form$.submit();
form$.remove();
...
about 4 years ago · Santiago Gelvez
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