How to load jQuery from CDN?



How to load jQuery from CDN?..

Answer / chaitanya

Below is the code to load jQuery from all 3 CDNs.

Code to load jQuery Framework from Google CDN

Hide Copy Code

<script type="text/javascript"

src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">

</script>

Code to load jQuery Framework from Microsoft CDN

Hide Copy Code

<script type="text/javascript"

src="http://ajax.microsoft.com/ajax/jquery/jquery-1.9.1.min.js">

</script>

Code to load jQuery Framework from jQuery Site(EdgeCast CDN)

Hide Copy Code

<script type="text/javascript"

src="http://code.jquery.com/jquery-1.9.1.min.js">

</script>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

Is jquery html() method works for both html and xml documents?

0 Answers  


Differentiate between calling stop (true, true) and finish method?

0 Answers  


Define jquery $.ajax() method?

0 Answers  


What is the use of val() method in jquery?

0 Answers  


What are your tools of choice to get the jquery job done?

0 Answers  






What does jQuery data() function do?

0 Answers  


What is the use of html() method in jquery?

0 Answers  


How did you become the creator of jquery ui? Whats the story behind that?

0 Answers  


How can jquery be used in conjunction with another javascript library that also uses $ for naming?

0 Answers  


Explain .empty() vs .remove() vs .detach() in jquery

0 Answers  


Define jquery filter?

0 Answers  


List the advantage of using minimized version of jquery?

0 Answers  


Categories