/ Published in: jQuery

Code to add Google-hosted jQuery to site. Includes noConflict to avoid conflicts with other libraries.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script> <script type="text/javascript"> jQuery.noConflict(); // Reverts '$' variable back to other JS libraries jQuery(document).ready(function($) { }); </script>
Comments
