Guest User

Untitled

a guest
Jul 16th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. (function(){
  2.  
  3. Foo = function(element){
  4. jQuery(element).bind("click", function(){
  5. alert(element);
  6. });
  7. };
  8.  
  9. jQuery.fn.autocomplete = function() {
  10. return this.each(function() {
  11. new Foo(this);
  12. });
  13. };
  14. })();
Add Comment
Please, Sign In to add comment