DropDown onChange event update the table in view

43 views
Skip to first unread message

Abhishek Thayyil

unread,
Jan 30, 2013, 12:42:11 PM1/30/13
to rubyonra...@googlegroups.com
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 retrived once and when the user selects the item from combo the table
data should get updated without goin to database again and again.
Any help would be deeply appreciated.
Regards,

AB

--
Posted via http://www.ruby-forum.com/.

New_to_Rails

unread,
Jan 30, 2013, 11:54:45 PM1/30/13
to rubyonra...@googlegroups.com


hi dude i'm also new to ror, two days back i struggled for the same problem but in my case when i select an item from dropdown in my view. based on the selection another dropdown in the view should be update automatically without touching database...
  go to this site,see demo and view page source

   
   this link wont provide the particular thing you have looking for but it it was done using javascript,hope it may give u an idea to solve ur problem.
Reply all
Reply to author
Forward
0 new messages