Hello everyone,

using scriptaculous is a breeze, its actually a lot of fun!

But now I have stumbled.

I would like to build a contextual autocompletion, meaning that the
parameters: option of the autocompletion should contain different
values, depending on user interaction.

I have a select element which contains a couple of options.
Depending on what option is being selected, the parameters option
should contain different values, the value of the selection, that is.

Here is what I have tried:
onclick event for the select element which sets a variable with the
selected value.
parameters: 'type='option [...] in the autocompletion script.

However, the autocompletion script seems to get evaluated on document
load, so the type parameter sent via ajax is always empty.

How can I fix that?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to