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 |
Explain width() vs css(‘width’)?
What is the latest version of jquery?
Change the url for a hyperlink using jquery?
Can you please explain the difference between .js and .min.js? : jquery mobile
Tell me how do you stop the currently-running animation? : jquery mobile
What is CDN?
What were the biggest challenges of getting the jQuery 1.7 release ?
In what situation you would use multiple version of jQuery and how would you include them?
What is jQuery connect?
differentiate between bind() vs live() vs delegate() methods in jquery.
What is wrong with this code line "$('#myid.3').text('blah blah!!!');"
Why is only the first page of multi page document loaded? : jquery mobile