0

I am new to the angularjs. I am using a textangular for showing the HTML document. My code is

HTML

<div text-angular  class="html-editor-container textcontent-modal" id="originalDocumentId" spellcheck="false" ng-hide="fetchingDocumentAsHTML"
       ng-model="data.originalDocument" ta-disabled="true">
    </div>

Now, From this, I am getting the HTML document in my div. When I checked using the Web Developer tool that time It is showing the taTextElement123344455 as a div for the content, now I want to get that div so that I can perform some another operation on the content.

SO I tried by doing document.getElementById("taTextElement123344455") But this Id is always changing. So, Can anyone please tell me how to get that div?

Farhana Naaz Ansari
  • 7,524
  • 26
  • 65
  • 105
ganesh kaspate
  • 1
  • 9
  • 41
  • 88

0 Answers0