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 |
Why use jQuery filter() Methods?
Can we call C# code behind using jQuery?
What is jQuery.noConflict?
Can JQuery Run on MAC or Linux instead of Windows?
Can we use protocol less URL while referencing jQuery from CDNs?
How to use jquery.connect?
What are the approaches of extracting a query string with regular expressions?
What is the difference between event.stopPropagation and event.stopImmediatePropagation?
How can you select all elements in a page using jquery?
Explain some benefits of jquery knockout?
What is event.stoppropagation? : jquery mobile
Can you please explain the difference between javascript and jquery? : jquery mobile