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 https://jsfiddle.net/tanaan/feouj1rq/1/ but we get undefined
We also have tried with
var htmlFile1 = file_get_html( 'file1.html');
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.
Any suggestion is welcome.
Thanks a mil