[Catalyst] Complete example for autocomplete with HTML::FormFu,
please
Oroszi, Róbert
robert at oroszi.net
Sat Jul 2 07:23:19 GMT 2011
I think you should call ac in jQuery like this:
$( "#addblack" ).autocomplete({
source: "[**% c.uri_for('/userinfo','**complete_user', 'blacklist') %]"
});
and the json should be formatted like this:
[
{
label: "label"
value: "value"
}
..etc..
]
In my opinion you should use jQueryUI because it's official (very efficient
team working on it), unlike the simple jQuery plugins.
2011/7/2 Alex Povolotsky <tarkhil at over.ru>
> On 07/01/11 21:18, Alan Humphrey wrote:
>
>> Firebug shows the following as the JSON content returned in their demo:
>>
>>
>> I've found http://www.devbridge.com/**projects/autocomplete/jquery/<htt=
p://www.devbridge.com/projects/autocomplete/jquery/>- works like a charm an=
d well-documented.
>
>
> Alex
>
>
> ______________________________**_________________
> List: Catalyst at lists.scsys.co.uk<https://mail.google.com/mail/?view=3Dcm&=
fs=3D1&tf=3D1&to=3DCatalyst at lists.scsys.co.uk>
> Listinfo: http://lists.scsys.co.uk/cgi-**bin/mailman/listinfo/catalyst<ht=
tp://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst>
> Searchable archive: http://www.mail-archive.com/**
> catalyst at lists.scsys.co.uk/<http://www.mail-archive.com/catalyst@lists.sc=
sys.co.uk/>
> Dev site: http://dev.catalyst.perl.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110702/9617c=
aca/attachment.htm
More information about the Catalyst
mailing list