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 |
How do you check if an element is empty?
How to read, write and delete cookies in jquery?
How can we give face effect in jquery?
What are the two types of CDNs?
How can you select all elements in a page using jquery?
How can we debug jQuery?
How is the deferred method in jquery important in relation to animate method?
List the basic selectors in jquery?
How to use it jquery knockout?
What is the difference between settimeout() and setinterval() methods?
What is the difference between .empty(), .remove() and .detach() methods in jQuery?
How can you apply a style on an element using jQuery?