Try this, the API changed slightly:

$("#example").autocomplete({
  data: data
});

Also be aware that 1.6 final won't contain the autocomplete plugin,
its deferred to 1.7. There are just too many things not on the level
of quality that you'd expect from jQuery UI.

Jörn

On Tue, Oct 7, 2008 at 10:51 PM, mario <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I really need help, I'm using JQuery UI 1.6rc2 and I cant get the
> bundled autocomplete to work with local data.
>
> Example:
> //--------------------------------------
> var data = [
>        "One",
>        "Two",
>        "Tree",
>        "Four",
>        "Five",
>        "Six",
>        "Seven",
>        "Eight",
>        "Nine",
>        "Ten"
> ];
>
> $("#example").autocomplete(provincias);
> //--------------------------------------
>
> When I actually try it with firebug, the input tag gets the class 'ui-
> autocomplete-input' added but nothing more happens in the html.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to