How to How to get innerHtml of html div element in angular 1.0 controller js file
Smith
2890
Points
78
Posts
|
Hi, I am using angular 1.0. I want innerHtml of html div element in angular controller js file. Similar way as we do in JQuery
Thanks |
Answers
edx
506
Points
24
Posts
|
Try this:
Posted On:
23-Jun-2017 03:48
|
Smith
2890
Points
78
Posts
|
It's not working. It's showing undefined. But when I checked in console I am getting values messageElem.contents()[0] .
Posted On:
23-Jun-2017 03:52
|
edx
506
Points
24
Posts
|
Try this
Posted On:
23-Jun-2017 03:55
great.. - chkdk 09-May-2018 20:12
|