Posted By

brianyang on 08/24/09


Tagged

ajax apis


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Nanobyte
davidinv


google load & jQuery plugin template


 / Published in: JavaScript
 

  1. <script type="text/javascript" src="http://www.google.com/jsapi">
  2. </script>
  3. <script type="text/javascript">
  4. google.load("jquery", "1.4.2");
  5. (function($){
  6. $.fn.myPlugin = function(){
  7. this.each(function(){
  8. });
  9. return $(this);
  10. }
  11. })(jQuery);
  12. </script>

Report this snippet  

You need to login to post a comment.