I want to update more then one partial using the ajax form_remote_for helper
Currently I use this code which can update only one partial
form_remote_for :hour, @hour, :url =>{:action => "m开发者_StackOverflow社区anage" },:id =>'hoursForm',:update=>'hoursIndex' do |f
I will appreciate if someone can tell me how can I adjust the update parameter so it can update more the one partial
Rather than trying to do this with the :update argument to form_remote_for I would suggest you use an RJS template for your manage action. If you need a refresher on this technique see here
加载中,请稍侯......
精彩评论