Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

130
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda