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

177
Vistas
button inside a generated Sticky Nav doesn't open an iframe

I'm sorry if I didn't explain the problem in the title. Let see:

The actual project is a StickyNAV. This is generated from the main menu of the website and appears when scrolling. The StickyNAV code is added at the end of the BODY when scrolling.

The button inside the StickyNAV doesn't work, it doesn't open the iframe, like the button in the main menu does.

The javascript file that opens the iframe is on another server (external URL). This js file (I guess), selects from the DOM all the elements that have the class: wtrvl-checkout_button

This is an example of what I need.

My first solution was to clone the element, but I discovered that the events associated to an element cannot be cloned.

Clicking LOAD loads the iframe normally. But after cloning Box1 and clicking LOAD nothing happens.

Thank you very much to the people who can help me.

[1] https://codepen.io/percy-solis-lucero/pen/BamZNNZ
  
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