# .rjs files

**URL:** <https://www.ruby-forum.com/t/rjs-files/110782>\
**Category:** Rails\
**Created:** [July 30, 2007, 9:18pm UTC](https://www.ruby-forum.com/t/rjs-files/110782 "2007-07-30T21:18:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [July 30, 2007, 9:18pm UTC](https://www.ruby-forum.com/t/rjs-files/110782/1 "2007-07-30T21:18:58Z")

</div>

I have a form that calls the method add\_airline\_table. I would like a  
 with the appriate id to highlight when a certain action is  
performed, by using a .rjs file. To make and use this .rjs file all I  
have to do is give it the same name as the action being performed, in  
this case add\_airline\_table, correct? It is also my understanding that I  
don’t have to add anyhting to the controller or the view? Just been  
playing with this as well, and its not working, arg! So goes my typical  
Monday. Any help would be great, thanks all,

~S
