• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Html loading issues

dr pepper

Well-Known Member
Most Helpful Member
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.
 

Latest threads

EE World Online Articles

Loading

 
Top