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

128
Views
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
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!