OK found it - it is data:
e.g.
var dataArr = "Core Selectors Attributes Traversing Manipulation CSS
Events Effects Ajax Utilities".split(" ");
$("#example").autocomplete(data:dataArr);
On Sep 14, 2:07 am, urbanblock <[EMAIL PROTECTED]> wrote:
> I am trying to use
>
> http://docs.jquery.com/UI/Autocomplete
>
> The examples do not work with the latest version of autocomplete
>
> e.g.
>
> $("#singleBirdRemote").autocomplete(http://dev.jquery.com/view/trunk/
> plugins/autocomplete/demo/search.php", {
> width: 260,
> selectFirst: false
>
> });
>
> but i have been able to make it work adding url: parameter
>
> $("#singleBirdRemote").autocomplete({url:"http://dev.jquery.com/view/
> trunk/plugins/autocomplete/demo/search.php"}, {
> width: 260,
> selectFirst: false
>
> });
>
> but i have not been able to get the local data example to work e.g.
>
> var data = "Core Selectors Attributes Traversing Manipulation CSS
> Events Effects Ajax Utilities".split(" ");
> $("#example").autocomplete(data);
>
> what parameter should I use in this case?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---