Google Hosted jQuery

/ Published in: jQuery
Save to your folder(s)

Code to add Google-hosted jQuery to site. Includes noConflict to avoid conflicts with other libraries.

Copy this code and paste it in your HTML
  1. <script type="text/javascript" src=""></script>
  2. <script type="text/javascript">
  3. jQuery.noConflict(); // Reverts '$' variable back to other JS libraries
  4. jQuery(document).ready(function($) {
  6. });
  7. </script>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.