Hi,

  I'm new to all this, both Ajax and Scriptaculous, so please bear
with my easy question.

  The book "Prototype and Scriptaculous in Action" gives an example of
extra query parameters in an Autocompleter as "one=1&two=2&three=3".
I'd like to pass an extra parameter that's not hard-coded but is a
variable that is set previously.

  Specifically, I've got two Autocompleter fields.  When the user
makes a selection in field 1 I capture an id corresponding to the
selection.  That works fine.  I'd like to pass that id as a query
parameter in the second field.

  This does not work:

{
  parameters: 'id='+myid
}

How can I pass the id as a query parameter in the 2nd Autocompleter?

Thanks,

Paul

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to