How do you dynamically load a javascript file from different domain?

前端 未结 3 1962
小鲜肉
小鲜肉 2021-01-13 07:43

I find this excellent code, posted by aemkei as answers to this questions:

  1. How do you dynamically load a javascript file? (Think C’s #include)
  2. Use jav
3条回答
  •  鱼传尺愫
    2021-01-13 08:31

    You can use the onload and onreadystatechange event to understand when the

提交回复
热议问题