Sometimes jquery CDN is not work. what can i do? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Sometimes jquery CDN is not work. what can i do?

https://code.sololearn.com/WB61XP27n89I/?ref=app

8th Jun 2018, 5:39 AM
Sadegh Salari
Sadegh Salari - avatar
3 Answers
+ 6
Calviղ in some countries Google's domain name is banned, e.g. Iran 😅 I'd recommend using Microsoft's CDN for JQuery: https://docs.microsoft.com/en-us/aspnet/ajax/cdn/overview Or use your own hosted JQuery library in the head, something like: <script> window.jQuery || document.write('<script type="text/javascript" src="http://your-own-domain.com/jquery-3.3.1.min.js"><\/script>'); </script>
8th Jun 2018, 6:40 AM
Pao
Pao - avatar
+ 5
jQuery from CDN is always working.
8th Jun 2018, 5:47 AM
Calviղ
Calviղ - avatar
0
copy jquery minified and paste in js file and attach on your end of html body
9th Jun 2018, 12:32 AM
abbas ghorbani
abbas ghorbani - avatar