I know that IE doesn't have a load
event for <script>
elements — is there any way to make up for that reliably?
I've seen some talk of things (e.g., requestState == "complete"
) but nothing very verifiable.
This is to be used so that code can be called after a script is finished loading, so that I don't have to use AJAX to load new sources (thus eliminating issues with cross-domain AJAX).
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…