Google jQuery reference file, jQuery reference address set (jquery 1.2.6 to jquery1.5.2)

Source: Internet
Author: User

1. Many websites use this method, and the client's browser may have cached jquery. It can be called locally directly, and the speed is faster...
2. Google code uses the cdn technology to have node servers in many places. Loading jquery is definitely not slower than loading it on your server, except for local servers :)
3. It can save server traffic and reduce server bandwidth pressure

Google code's jquery can be referenced in two ways
I. Reference http://www.google.com/jsapi? Key = Goolge key
<Script type = "text/javascript">
Google. load ("jquery", "1.4.2 ");
</Script>

2. Direct reference address http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js


JQuery 1.2.6 references a file
Copy codeThe Code is as follows:
<Script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type = "text/javascript"> </script>

Google jQuery 1.3.2 reference file
Copy codeThe Code is as follows:
<Script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type = "text/javascript"> </script>

Google jQuery 1.4.2 reference file
Copy codeThe Code is as follows:
<Script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type = "text/javascript"> </script>

Google jQuery 1.5.2 reference file
Copy codeThe Code is as follows:
<Script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type = "text/javascript"> </script>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.