3 ms·
A simpler method is adding a blocking script tag immediately below the DOM element.
by moonboots 14y ago
A simpler method is adding a blocking script tag immediately below the DOM element.
- mistercow 14y agoThat'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.