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

195
Vistas
How can I make an iframe available to a form target attribute inside shadowRoot?

I am having a situation where I have to submit a form to populate an iframe.

<form action="" target="iframe_name" method="Post">
</form>
<iframe id="iframe_id" name="iframe_name"></iframe>

The problem is that everything is inside shadowRoot, so the target attribute from the form failes to find my iframe name.

There is the workaround, that would imply not using shadowRoot but I would rather use my existing structure if there is any way to make the iframe available for the target attribute to be found.

I also tried to search for a way to dynamically set the attributes for the form directly to the iframe, but from what I could find, the target attribute accepts only names, not DOM elements.

Thank you

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