How to load a UI Script after the entire dom is ready

raskill
Kilo Contributor

I have a UI script that I have made available to an application portal. The issue that I'm facing currently is that the UI script code is being loaded before the entire dom is ready. As a result, any reference to a dom element in the script would give me the following,

find_real_file.png

How can I load the code in the UI Script after the entire dom is ready?

Any help with this is greatly appreciated!

Thanks,

Raskill 

 

5 REPLIES 5

Hi @raskill ,
Have you found solution for this issue? I also have same problem