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

259
Vistas
Close modal on button click Elementor

I hope you are having a nice day. I am working with the following menu:

enter image description here

The site with which I am working is a Single Page, I need that when clicking any of the buttons that work as anchors to different sections (referenced by ID) they also close this popup. Any idea how to do it? I can work perfectly with JS and jQuery, I know these technologies a lot.

Thanks for reading and giving me your time. I await your responses. Greetings.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I have this working for me:

  • give the buttons on your popup an additional class of 'close-popup'

  • add an HMTL widget to your popup with the following

    <script> 
      jQuery( document ).ready( function( $ ) {
      $( document ).on( 'click', '.close-popup', function( event ) {
          elementorProFrontend.modules.popup.closePopup( {}, event );
       } );
     } );
    </script>
    

I'd like to be able to claim the credit for this, but it goes to shilo-ey

about 4 years ago · Juan Pablo Isaza Denunciar
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