By default, Google Contacts has a feature where the form displays values with some of them being read only. However, when you click on a value, it converts the field into an editable form so you can easily make changes. After editing and pressing enter, the value updates, removes the edit mode, and displays the new value.
This functionality makes it simple to add or modify information with just one click.
I am in search of a library that can replicate this behavior, preferably one that handles the entire process including javascript, ajax, and Ruby on Rails. Alternatively, a library that covers the javascript and ajax functionalities would also be useful.