Thursday, March 3, 2011

JavaScript Parameter

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.szabo@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