I have some placeholder text in a textbox (“Day day_placeholder”)
When onReady() runs, I make an HTTP call through the Wix backend and I make some HTML replaces to change what is shown. That part is working.
The problem is that the HTTP Call is taking too long and is only making the request after the site is load. I tried to use hide() and show(), but it takes even longer to the site to load.
You may consider using a router (it depends on what exactly you’d like to achieve).
On router trigger run the http-call and when you get the response, load the page (pass the response if needed).