Rails: basic Ajax question! - I'm looking for example code about simple adding and editing for list?

Wrap each row that you want to dynamically update in a form_remote_tag. When the update button is clicked, the form fields are sent via ajax to the server.

Wrap each row that you want to dynamically update in a form_remote_tag. When the update button is clicked, the form fields are sent via ajax to the server. :update do %> Then on the server side do something like this: def update #do normal update stuff #send RJS back to the user that we did something.

Render :update do |page| page. Alert "item updated! " end end.

I don't have much knowledge about Ajax and Rails, please give me a link about it or......entire code if possible T_T – Hongseok Yoon Feb 5 '10 at 9:33.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send