Forum: Ruby on Rails passing parameters from rhtml to rjs

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F04aeb28129f653b207e8b5d92706096?d=identicon&s=25 Amos King (Guest)
on 2007-06-25 02:36
(Received via mailing list)
I need some parameters to go from my rhtml to my rjs.  Anyone know how
to do this?

--
Amos King
A. King Software Development and Consulting, L.C.
http://dirtyInformation.com
--
Looking for something to do? Visit http://ImThere.com
588ab1c0a5610a7e160a3b101abb91e6?d=identicon&s=25 Michael Latta (Guest)
on 2007-06-25 03:33
(Received via mailing list)
If you are submitting a form, you can always pass strings using
hidden input tags.  If you are just doing a call using an updater
then you can pass some parameters as additional URL parameters.

Michael
F04aeb28129f653b207e8b5d92706096?d=identicon&s=25 Amos King (Guest)
on 2007-06-25 04:31
(Received via mailing list)
thanks.  I tried that.  I ended up having to make an action to set the
parameters, and give it the same name as the .rjs.

On 6/24/07, Michael Latta <lattam@mac.com> wrote:
> > I need some parameters to go from my rhtml to my rjs.  Anyone know how
>
>
>


--
Amos King
A. King Software Development and Consulting, L.C.
http://dirtyInformation.com
--
Looking for something to do? Visit http://ImThere.com
This topic is locked and can not be replied to.