.rjs files

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