top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How can i load jQuery from Content Delivery Network?

+2 votes
534 views

Can someone help me with this (Better to provide code for top 3 providers Google, Microsoft and JquerySite).

posted May 14, 2014 by Tapesh Kulkarni

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Below is the code to load jQuery from all 3 CDNs:

Code to load jQuery Framework from Google CDN

<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

<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)

<script type="text/javascript"
    src="http://code.jquery.com/jquery-1.9.1.min.js">
</script>
answer May 15, 2014 by Divya Bharti
...