parameters : {
    id : myid
}
Alex Mcauley
http://www.thevacancymarket.com
----- Original Message ----- 
From: "Paul G" <pggiff...@gmail.com>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Friday, September 11, 2009 11:18 PM
Subject: [Proto-Scripty] How do I pass other parameters to Autocompleter?


>
> 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 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