Hello all, This could be a tootally boonie question. i am trying to do this very simple app. I have a simple form where user enters data,once entered, i add that data in a div ''data'' . which works fine but i want to save that data perodically(all the data in DIV ''data'') or if user hits a save button with each data row. Now one thing i am not sure about that when user hits button ''save data; for a row,i execute the following new Ajax.Request(''/saveData'', {method: ''post'',asynchronous:true, evalScripts:true,onSuccess:DoASNeeded()}); which saves the data but i am not sure how to retrieve the primarky key of saved record and update it async. to that row. i am not sure how to retrieve PK of saved record and use it later for any modifications. please help --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---