title: Get text from a txt file in the url
body: <p>When  I go to a url like this: http ://my.url.com/file.txt, the browser shows text.</p>
  
  <p>I would like a simple javscript command that does the following:<br/>
   1. go to the url<br/>
   3. take the text that shows up on the screen<br/>
   4. store it in a variable for further processing</p>
  
  <p>so something like</p>
  
  <pre><code>var url = http: //my.url.com/file.txt;
  </code></pre>
  
  <p>//some code here that goes to the url</p>
  
  <p>//some code that takes said info and does something like:</p>
  
  <pre><code>var fileInfo = ---content of file.txt---
  </code></pre>
  
  <p>Note that the info I seek from the txt file is in html tags </p>
  
  <pre><code>&lt;p&gt;Text I need in Variable&lt;/p&gt;
  </code></pre>
  
  <p>Any assistance would be greatly appreciated!<br/>
  Thank you!</p>