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

How we can remove an attribute of an html tag in jquery?

0 Answers  


How to read, write and delete cookies in jquery?

0 Answers  


Differentiate between jquery.size and jquery.length? : jQuery Mobile

0 Answers  


How do you select all elements with the class of “selected” in jquery?

0 Answers  


How to resolve conflicts with other libraries?

0 Answers  






Why we need jquery?

0 Answers  


Why is not dom ready working for jquery mobile? : jquery mobile

0 Answers  


What programming language does jquery use?

0 Answers  


What are selectors in jquery? Explain

0 Answers  


Explain some benefits of jquery knockout?

0 Answers  


Define the types of selectors in jquery?

0 Answers  


Why content injected into a page is not enhanced? : jquery mobile

0 Answers  


Categories