You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to do the following - using AngularJS and HTML in Visual Studio 2019.
1)In HTML page - DIV - with ID = Test. Assign ng-html-compile="htmlTemplate" to the DIV.
2)Save the DIV to SQLServerDatabase. By using
var obj = document.getElementById('Test').innerHTML; // Saves to the database.
3)Retrieve obj saved to the database and assign its value to htmlTemplate
4)Doesn't seem to work correctly. In fact for other DIVs present inside Test - I see elements rendered twice. See below for more details - What could be the cause of the issues?
The text was updated successfully, but these errors were encountered:
I am trying to do the following - using AngularJS and HTML in Visual Studio 2019.
1)In HTML page - DIV - with ID = Test. Assign ng-html-compile="htmlTemplate" to the DIV.
2)Save the DIV to SQLServerDatabase. By using
var obj = document.getElementById('Test').innerHTML; // Saves to the database.
3)Retrieve obj saved to the database and assign its value to htmlTemplate
4)Doesn't seem to work correctly. In fact for other DIVs present inside Test - I see elements rendered twice. See below for more details - What could be the cause of the issues?
The text was updated successfully, but these errors were encountered: