Jörn,

That was it. I'm having trouble figuring out the namespace of the plug-ins.

Thanks!

-Dan

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>Behalf Of Jörn Zaefferer
>Sent: Thursday, January 04, 2007 5:05 PM
>To: jQuery Discussion.
>Subject: Re: [jQuery] Q: Extending Autocomplete Plugin...
>
>Dan G. Switzer, II schrieb:
>> jQuery.fn.autocompleteLocal = function(data, options) {
>>      return jQuery.fn.autocomplete(null, options, data);
>> }
>>
>> But this doesn't work. How can I extend the jQuery.fn.autocomplete plug-
>in
>> to do what I want?
>Your example doesn't make much sense. Maybe something like this is what
>you are looking for:
>
>jQuery.fn.autocompleteLocal = function(url, options) {
>       var defaults = { ... };
>       return this.autocomplete(url, jQuery.extend(defaults, options));
>}
>
>--
>Jörn Zaefferer
>
>http://bassistance.de
>
>
>_______________________________________________
>jQuery mailing list
>[email protected]
>http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to