Forum: Ruby on Rails RJS questions

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.
F639e0cdf2fa098b535d6ec766b2aee1?d=identicon&s=25 Szymon Nowak (g0nzo)
on 2006-05-12 14:31
Hi!

1. Is it possible to execute rjs from onclick event?
2. Can i use rails code inside rjs? So i could easily add complicated
form elements like date_select etc?
3. If i have a form_remote_tag which calls action 'add_entry', do i have
to somehow run render method to run rjs file or just create
add_entry.rjs file and it will be executed automatically?
4. Can i use rjs code directly (inline) in the controller?
This topic is locked and can not be replied to.