[Rails] DropDown onChange event update the table in view

2013-01-30 Thread Abhishek Thayyil
Hi all, I am fairly new to ROR and recently i created an application where i have a combobox when on select the item from combobox i need the table in the view to be updated based on the selection of the item selected in the combobox. I need to do it using javascript , the whole data should be ret

[Rails] Updating table using UJS

2013-01-27 Thread Abhishek Thayyil
Hi all, I have an application in which i am displaying employee details, based on the onChange event of the employee's group combobox i need to update the table contents.Below is the code so far done. new.html.erb <%= form_for (@employee) do |f| %> ...

[Rails] Rails 3 Updating table data on change event of combobox

2013-01-24 Thread Abhishek Thayyil
Hi all, I am new to this forum also to the world of ROR, i have been trying to update a table on the onChange event of the combobox by using UJS My need is that when i select an item in the combobox the data in the table should get updated according to the selected iten. Regards, Abhishek -- P