If it''s a link_to_remote, you could look at the :with parameter and use
$F()
function in prototype to get away with this. link_to would require more
hackery I guess.
Vish
On 9/22/06, Lee <lee_longmore-/E1597aS9LT10XsdtD+oqA@public.gmane.org>
wrote:>
>
> In a view I have the following select() method call:
>
> <%= select(:picklist, :pick, %w{ address number collection })
>
> I have this code between a start_/end_form_tag and use the selected
> value in an action.
>
> I''d also like to be able to pass the ''selected''
value as a parameter in
> a link_to on the same page. Is this possible and if so, how should I
> refer to the picklist parameter in my link_to call?
>
> Thanks!
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---