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 |
Whether we need to add jQuery file in both Master and Content page?
Define cdn in jquery?
What is the use of serialize method in jQuery?
Explain the difference between $(this) and 'this' in jquery?
How to use it jquery knockout?
How to check data type of any variable in jquery? : jquery mobile
How to get the value of selected option in jquery?
Which is the latest version of jQuery library?
Can jquery be used to make an ajax request?
How to debug jQuery?
How we can hide a block of html code on a button click using jquery?
Does jquery 2.0 supports ie? : jquery mobile