Forum: Ruby on Rails How to handle change events of HTML controls using Rails Fra

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.
Narasimha prasad D. (Guest)
on 2008-11-06 06:32

1.  I require to populate dropdowns and textboxes based on the selection
in  one or the other dropdowns.
  I tried to create a dropdown ,radiobutton,checkbox.
  But I am not able to find the event handlers for the controls
  (Like Onchange Event for dropdown list in .NET) .
  It will be of great help, if I get  some solution.

2   Also I require help in embedding different views (Html) into a
single main view with data from different tables (model) data.

Thanks in Advance
Hubert Łępicki (Guest)
on 2008-11-08 11:24
(Received via mailing list)

1. You can easily do this with Prototype framework (http:// which is distributed with Rails or with even
standard javascript.
2. Not sure if I understand you but you might want to have look at
partials (

On 6 Lis, 05:32, Narasimha prasad Daruru <rails-mailing-l...@andreas-
This topic is locked and can not be replied to.