Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function(){
- Foo = function(element){
- jQuery(element).bind("click", function(){
- alert(element);
- });
- };
- jQuery.fn.autocomplete = function() {
- return this.each(function() {
- new Foo(this);
- });
- };
- })();
Add Comment
Please, Sign In to add comment