title: how to get a external HTML file and store it in a variable
body: <p>we are not sure if what we are looking for is posible to be done this way. We generating a HTML structure with JS and we would like to load external HTML files inside one of the div we generate.
  We have this code so far <a href="https://jsfiddle.net/tanaan/feouj1rq/1/" rel="nofollow noreferrer">https://jsfiddle.net/tanaan/feouj1rq/1/</a> but we get <code>undefined</code></p>
  
  <p>We also have tried with</p>
  
  <pre><code>var htmlFile1 = file_get_html( 'file1.html');
  </code></pre>
  
  <p>We cannot make it work and we are not sure if it is posible this way tbh, that's why we'd like to ask the huge community here. The idea basically is to load and external HTML file inside the idv with class .content that we generate with JS.</p>
  
  <p>Any suggestion is welcome.</p>
  
  <p>Thanks a mil</p>