flâneur — a map of the web's best reading

javascript - Wait for scripts with type="module" to finish before running the next script - Stack Overflow

stackoverflow.com · 1,316 words · saved by 1 readers

At the bottom of the body tag inside my html document I have 2 script tags with type="module". Below that I have a script tag with some embedded code that depends on the result of the pre...

javascript - Wait for scripts with type="module" to finish before running the next script - Stack Overflow The 2026 Annual Developer Survey is live— take the Survey today! Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives Stack Internal Knowledge at work Bring the best of human thought and AI automation together at your work. Explore Stack Internal Wait for scripts with type="module" to finish before running the next script Ask Question Asked 3 years, 6 months ago Modified 3 years, 6 months

Explore this link on the map →

related reading