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

Whether we need to add jQuery file in both Master and Content page?

1 Answers  


Define cdn in jquery?

1 Answers  


What is the use of serialize method in jQuery?

1 Answers  


Explain the difference between $(this) and 'this' in jquery?

1 Answers  


How to use it jquery knockout?

1 Answers  


How to check data type of any variable in jquery? : jquery mobile

1 Answers  


How to get the value of selected option in jquery?

1 Answers  


Which is the latest version of jQuery library?

1 Answers  


Can jquery be used to make an ajax request?

1 Answers  


How to debug jQuery?

1 Answers  


How we can hide a block of html code on a button click using jquery?

1 Answers  


Does jquery 2.0 supports ie? : jquery mobile

1 Answers  


Categories