Well basically me and a colleague are starting a social networking site based around the concept of easy to use AJAX.

Now I know using JS would be a setback for some people who do not support it but as the ages roll by more and more people do (Not a problem for us)

What we need help on is this idea normally used in vBulletin.

At the top of the page we display their name such as on MySpace:

Hello, MYNAME!

We want them to be able to double click on their name, or just one click and it turn into a text box with that value in it. And when their done just hit enter and it saves with AJAX.

I am no where near good with AJAX as I am with PHP.

Could anyone help me write a script that could do this?

Thanks and good day,
Caleb Mingle and Simon Fletcher