title: How to grab text from text src?
body: <p>I'd like to be able to extract text data located on other page within the same server in order to make the page source looks more organized.</p>
  
  <p>I included a text from the server using the following html tag.</p>
  
  <pre><code>&lt;text id='sampleText' src='data/sampleText.txt'&gt;&lt;/text&gt;
  </code></pre>
  
  <p>I went to the address to clarify if the path is working. After making sure that it's there, then I wrote the javascript to grab it.</p>
  
  <pre><code>document.getElementById("sampleText").value //return: ""
  </code></pre>
  
  <p>.innerHTML doesn't work either. Is there a way to grab the text via javascript? Or is it my html tag that is wrong? Perhaps both?</p>