I wrote a html page for an esp8266 project, it works.
The same code I copied to the esp32 using its async sever.
It doesnt work, the page loads but the browser says init() was not defined, it is in the code.
I think the issue is the page not loading before the code tried to execute (async).
I tried using defer on the dependants, but that doesnt work, and I tried set.timout and an ebent listener, all efforts dont work.
Whats so different about the way the Esp 32 loads the html compared to the esp8266.
The same page (index) loads perfectly from the hdd as well.
The same code I copied to the esp32 using its async sever.
It doesnt work, the page loads but the browser says init() was not defined, it is in the code.
I think the issue is the page not loading before the code tried to execute (async).
I tried using defer on the dependants, but that doesnt work, and I tried set.timout and an ebent listener, all efforts dont work.
Whats so different about the way the Esp 32 loads the html compared to the esp8266.
The same page (index) loads perfectly from the hdd as well.