/ Published in: jQuery

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
(function($) { $.fn.extend({ yAutocomplete: function(options /* object */) { return this.each(function() { var settings = jQuery.extend({ /* extending options object with defaults */ }, options); var self = $(this); /* here comes the logic */ }); }}); })(jQuery);
Comments
