I'm trying to figure this AJAX stuff out, but its SOOOOO confusing... Would someone mind helping me do this small script as SIMPLE as possible? Lets say I have the following code (psuedocode):
Code:
$value = SELECT char FROM mytable WHERE id = 1
This code returns $value[char] as "amy".
Then in a table cell I have the following:
Code:
<td><img src="$value[char].jpg"></td>
I want to be able to double click anywhere on that table cell, and get a text box that lets me edit the value of char FROM mytable WHERE id = 1. Pretty much the same thing as the inline title editing on vBulletin, except that it shows the text value as an image when its done.
Thanks in advance.