Ajax dynamic form
Posted on 2009-02-11
I am to develop a form which using Ajax to submit data, the traditional way I used as it has static Text field and with onKeyUp for user to input something. But recently I found that there've some websites using a dynamic method as :
1. User click the Text, for example: I am a boy
2. "I am a boy" change to a text field to let user to change content directly
3. The cursor leaves the text field, record updated.
(The most usage on this techni. I found as Facebook)
I believed it's something about Ajax, since I am new to that, I would like to know how to do this? is that using a CSS layer control? (when click, change to viewing Form layer)
Any hints for me to reach that?