Server side code running

Hi !

So there is my actual code :

To be clear on what I want to do, my current problem is that when I launch my site, I first see “Heading 3” and then after 1 second, I got “Hello” (+ the name).

So I want to have directly my “Hello” (+ the name) on the client side.

I tried with the rendering api and the env property, but nothing changed.

You can initialize #text61 to blank right at the beginning of the onReady() function like this:

$('#text61').text = '';

Then, you won’t see this field displayed until the query is finished.

Thanks I didn’t knew that !

I just find a way to make it work without your tip.

I used wix-window.warmupData :
https://www.wix.com/velo/reference/wix-window/warmupdata-obj/get

with get and set, and that’s actually working properly !

1 Like