How to wait for another JS to load to proceed operation?

前端 未结 4 1244
醉酒成梦
醉酒成梦 2020-12-08 10:31

I have an issue. One of my JS scripts needs Facebook SDK and Twitter widgets JS to load first. Facebook creates FB object, Twitter creates twttr ob

4条回答
  •  悲&欢浪女
    2020-12-08 11:00

    If the scripts are loaded in the normal, synchronous way, then just make sure that your

提交回复
热议问题