Posted By

revierDsign on 12/03/09


Tagged

google jquery


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

jonahlyn
nightshiftc


Let Google host jQuery for you


 / Published in: jQuery
 

  1. <script src="http://www.google.com/jsapi"></script>
  2. <script type="text/javascript">
  3. google.load("jquery", "1.2.6");
  4. google.setOnLoadCallback(function() {
  5. //Code to be inserted in this area
  6. });
  7. </script>
  8.  
  9. /* the best way (fastest and most efficient implementation) */
  10. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
  11. <script type="text/javascript">
  12. $(document).ready(function() {
  13. //This is more like it!
  14. });
  15. </script>

Report this snippet  

You need to login to post a comment.