link_to_remote headaches

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!!!!

google for 'running javascript in the opener window' -R

Hi Becca Girl,

           Did u get the solution for the above problem? Even i am facing the same problem help me out !!!!!!!!!!!!!!!!!!!!!!!!!!

THANKS....