Datagrid with RJS

I’m trying to create a list of doctors with names and surnames. I want
to be able to add many doctors using AJAX and then save all of them at
the same time. All the doctors are associated to a patient.

I want to do something like the datagrid in

but I would like to use RJS because this fellow used javascript before
RJS came out. And also, they are using a table to store the doctors in a
“session” and then flush them into the actual database. I want to be
able to do it without temporal tables.

Does anyone know how to do it?

Cheers

Any idea?

This post is related to
http://www.ruby-forum.com/topic/73920#new

Thanks