Best way to use Google's hosted jQuery, but fall back to my hosted library on Google fail

前端 未结 23 1400
太阳男子
太阳男子 2020-11-21 07:19

What would be a good way to attempt to load the hosted jQuery at Google (or other Google hosted libs), but load my copy of jQuery if the Google attempt fails?

I\'m n

23条回答
  •  离开以前
    2020-11-21 07:57

    The easiest and cleanest way to do this by far:

    
    
    

提交回复
热议问题