I''ve been searching the forums and the api for a specific way to update a parent window from a pop-up and am going in circles now. In my view I have <%= link_to_remote "Update Parent", :url => {:action => ''update_parent'', :items_selected => @item_codes, :id => (params[:id])}, :update => ''item_codes'' %> I am a bit lost as to what I need to include in my controller to update a textbox in my parent form and close the child window? THANKS!!!! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
google for ''running javascript in the opener window'' -R On Fri, May 2, 2008 at 10:59 AM, Becca Girl <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > I''ve been searching the forums and the api for a specific way to update > a parent window from a pop-up and am going in circles now. > > In my view I have > <%= link_to_remote "Update Parent", :url => {:action => ''update_parent'', > :items_selected => @item_codes, :id => (params[:id])}, :update => > ''item_codes'' %> > > > I am a bit lost as to what I need to include in my controller to update > a textbox in my parent form and close the child window? > > THANKS!!!! > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Becca Girl, Did u get the solution for the above problem? Even i am facing the same problem help me out !!!!!!!!!!!!!!!!!!!!!!!!!! THANKS.... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---