Forum: Ruby on Rails RJS questions

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Szymon N. (Guest)
on 2006-05-12 16:31

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.