Forum: Ruby on Rails .rjs files

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.
Shandy N. (Guest)
on 2007-07-30 23:18
I have a form that calls the method add_airline_table. I would like a
<span> 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
This topic is locked and can not be replied to.