Y
Hacker News
new
|
ask
|
show
|
jobs
by
moonboots
5013 days ago
A simpler method is adding a blocking script tag immediately below the DOM element.
1 comments
mistercow
5013 days ago
That's a synchronous solution though, and it doesn't let you do the more advanced use case where you wait for a div to load long after document ready.
link