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

388
Vistas
Bootstrap Popover plugin: not displaying the html content properly

The Bootstrap Popover plugin is not displaying the HTML content properly.

I have a button inside the popover and when clicking that button I need to perform some action. When I add the onclick function on the button, the button disappears from the popover.

Also, the button and popover are randomly generated so I can't use the jQuery onclick.

Can anyone help me with why the button is not displayed if I add an onclick function in the bootstrap popover?

$('.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
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