Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

386
Views
Complemento Bootstrap Popover: no muestra el contenido html correctamente

El complemento Bootstrap Popover no muestra el contenido HTML correctamente.

Tengo un botón dentro de la ventana emergente y al hacer clic en ese botón necesito realizar alguna acción. Cuando agrego la función onclick en el botón, el botón desaparece de la ventana emergente.

Además, el botón y la ventana emergente se generan aleatoriamente, por lo que no puedo usar jQuery al hacer clic.

¿Alguien puede ayudarme a explicar por qué no se muestra el botón si agrego una función onclick en la ventana emergente de arranque?

 $('.popover-menu').popover({ 'html': true, 'placement': 'top', 'trigger': 'manual', 'animation': false, 'container': 'body', 'template': '<div class="popover popover-menu-wrapper"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"></div></div></div>', 'content': function () { var content = $(this).attr('id'); return $("#" + content + "Popover").html(); } });
about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!