Thursday, March 3, 2011

Re: JavaScript Parameter

Hi,

what script do you mean, how does it look like?

If you are using JQuery, just use JQuery's UI autocomplete to do the
same thing.

Radovan

On 3. Mar., 13:01 h., "Szabo, Patrick \(LNG-VIE\)"
<patrick.sz...@lexisnexis.at> wrote:
> Hi,
>
> I finally found a JavaScript that gives me autosuggest functionality for
> a textfield.
> Unfortunately this script uses a hard-coded array for the suggestions
> and of courese i want to use values from my database.
>
> Any idea how i could pass the javascript an array that contains all my
> values ?!
>
> Im calling the script like this in my template: <body
> onLoad="createAutoComplete();">
>
> Kind regards
>
> . . . . . . . . . . . . . . . . . . . . . . . . . .
> Patrick Szabo
>  XSLT Developer
> LexisNexis
> Marxergasse 25, 1030 Wien
>
> mailto:patrick.sz...@lexisnexis.at
> Tel.: +43 (1) 534 52 - 1573
> Fax: +43 (1) 534 52 - 146

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment