# Passing parameters from rhtml to rjs

**URL:** <https://www.ruby-forum.com/t/passing-parameters-from-rhtml-to-rjs/107667>\
**Category:** Rails\
**Created:** [June 25, 2007, 2:36am UTC](https://www.ruby-forum.com/t/passing-parameters-from-rhtml-to-rjs/107667 "2007-06-25T02:36:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thekernel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47774/32.png) [@thekernel](https://www.ruby-forum.com/u/thekernel)\
**Post date:** [June 25, 2007, 2:36am UTC](https://www.ruby-forum.com/t/passing-parameters-from-rhtml-to-rjs/107667/1 "2007-06-25T02:36:21Z")

</div>

I need some parameters to go from my rhtml to my rjs. Anyone know how  
to do this?

## – Amos K. A. King Software Development and Consulting, L.C. [http://dirtyInformation.com](http://dirtyInformation.com)

Looking for something to do? Visit [http://ImThere.com](http://ImThere.com)

---

<div class="post-metadata">

**Author:** ![thekernel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47774/32.png) [@thekernel](https://www.ruby-forum.com/u/thekernel)\
**Post date:** [June 25, 2007, 3:33am UTC](https://www.ruby-forum.com/t/passing-parameters-from-rhtml-to-rjs/107667/2 "2007-06-25T03:33:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![thekernel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47774/32.png) [@thekernel](https://www.ruby-forum.com/u/thekernel)\
**Post date:** [June 25, 2007, 4:31am UTC](https://www.ruby-forum.com/t/passing-parameters-from-rhtml-to-rjs/107667/3 "2007-06-25T04:31:30Z")

</div>

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 L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > I need some parameters to go from my rhtml to my rjs. Anyone know how

## – Amos K. A. King Software Development and Consulting, L.C. [http://dirtyInformation.com](http://dirtyInformation.com)

Looking for something to do? Visit [http://ImThere.com](http://ImThere.com)
