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 |
Is jquery html() method works for both html and xml documents?
Differentiate between calling stop (true, true) and finish method?
Define jquery $.ajax() method?
What is the use of val() method in jquery?
What are your tools of choice to get the jquery job done?
What does jQuery data() function do?
What is the use of html() method in jquery?
How did you become the creator of jquery ui? Whats the story behind that?
How can jquery be used in conjunction with another javascript library that also uses $ for naming?
Explain .empty() vs .remove() vs .detach() in jquery
Define jquery filter?
List the advantage of using minimized version of jquery?