I have some html+java+style codes which required to be loaded only after the whole page is loaded. However, if I use document.write() in window.onload method, it completely clear the whole page and write the new codes.
How can I avoid this? Any other workarounds? Thank you so much.