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

129
Vistas
Button click events not triggering on saved HTML with Angular controller

I saved contents of a HTML page (with UI-Grid control, drop down, input texts etc.) in SQL Server database.

I have another page where I am fetching the saved HTML and assigning it to a div inside the page.

The saved HTML is rendered correctly, but for buttons present on the page, click events are not fired. I have the same functions as in the main page in this page. Also checked that the HTML I need is rendered correctly.

I am doing the following -

1)PageA.HTML has an element -

enter code here blah

2)save all div contents from PageA to the database.

3)Page B - has a div - main

4)I main.innerHTML = the saved content from PageA.

It renders the page correctly.

However I am not able to do the action on ng-click="blah('blah')"

That event is not triggering.

What is the be best way to fix this issue?

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