I know, there are lots of answered questions about it here. My situation is a bit different, though, and I couldn't find an answer yet.
I'm trying to show a message after the page has fully loaded. Using $(document).ready, document.readyStateChange
, I don't care.
The thing is that the document gets ready right in the middle of a script that needs to be executed. I've tried to do it with window.onload
(and it's jQuery equivalent), but it shows me the message before some images/elements show up. Is there a way to wait for it to be executed and only then show up the message? (Please keep in mind that I might need to do it several times in the same page).
Thanks in advance!